I’ve been curious about this for a long time! I’ve been coding an HTML website on my PC and am eager to get it hosted. I’ve heard that if you want to host it yourself, your PC needs to be on all the time with internet access. But what if I use a service like GitHub? Do I still need to keep my PC running, or can I just upload my HTML files and have them hosted online?
I hope this makes sense and that you can offer some guidance.
EDIT: I’m leaning towards using GitHub. So my new question is: do I still need to keep my PC on, or can I simply upload my files to GitHub?
This might not be the best approach for you if you lack experience, but you can check out this guide for more information: How to Host Your Own Website.
A static website consists solely of HTML, CSS, and JavaScript, and doesn’t require a server to manage any logic. For instance, a site that doesn’t need data storage, relies entirely on front-end logic through JavaScript, or simply displays text and images is considered a static website.
Got it. I think I understand now. My website only uses HTML and CSS, and includes a few pictures and a video clip. Does that qualify as a static website?