Before creating a website, we have to decide where we will develop the site and with what tools. I recommend using your desktop or laptop and not Raspberry Pi as the main computer to work on. Also, try using a text editor, such as Sublime Text, since they will help you a lot. This is my preferred style; feel free to choose yours.
To develop a website, we need a server, and we can easily use a XAMPP or LAMPP server on a Windows, Linux, or Mac system. Download the package from https://www.apachefriends.org/download.html.
After this, install the package on your system, and start the control panel. In Linux systems, you can start the services by opening a Terminal and typing the following command:
sudo /opt/lampp/lampp start ...