Home >Development Tools >git >How to use Gitee Pages to deploy static websites and interactive functions
Gitee is a very well-known Git code hosting platform. Not only can you manage code on Gitee, you can also deploy your own static website through Gitee Pages, which is very convenient. This article will introduce how to use Gitee Pages to deploy a static website and how to add interactive features to make the website more lively and interesting.
1. Create a Gitee Pages project
First you need to create a Pages project on Gitee. The specific operations are as follows:
git init
git add .
git commit -m "initial commit "
git remote add origin [Gitee repository address]
git push -u origin master
2. Add interactive functions
On the basis of a static website, adding interactive functions can make the website more lively and interesting. Here are two ways to add interactive functionality.
JavaScript is a scripting language that can achieve page interaction effects. You can add