You should always test your code before pushing it live!
Testing websites like this is pretty simple. All you need to do is open your project folder in the File Explorer, and double-click on theย index.html file.
This will open it in a web browser (like Google Chrome or Firefox) so you can view it.