what are some websites to write html and css stuff in?
just to add a little
you could literally just write this in a plain text file, save it as a .html instead of txt, and open with your web browser (right click, open with)
If you wanted to get some kind of experience with webhosting
be careful with xampp.
seconded, I assumed he wouldnt turn his default firewalling stuff off on his router/workstation but you never know
Open message to anyone fucking around with this, you should understand the basics of cybersecurity before any of this and keep your incoming connections from the internet closed unless you explicitly need something opened (if you dont know what that means, you dont need it)