I need freeNot free, but close: www.fatcow.com . Note: I am a member of the Fatcow affiliate program.
I need free
What is a good, simple hosting website to put my HTML / JS / PHP code?
*FREE!
Host it on your own apache instance, and open up port forwarding on your router to your machine, port 80
Mamp is a great solution
http://www.mamp.info/en/downloads/
This is dependant on whether you have a fixed I.P. Most ISPs do not provide this by default. It's also not a great idea to do this for security reasons if you don't know what you're doing.
Host it on your own apache instance, and open up port forwarding on your router to your machine, port 80
Mamp is a great solution
http://www.mamp.info/en/downloads/
Heroku might be a bit more complicated, but they do have a free tier.
https://devcenter.heroku.com/articles/getting-started-with-php#introduction
Advise you not to go for free hosting because it has many disadvantages and less advantages which might ruin all your efforts towards the site/project. Remember that everything has a price here and nothing is for free
Heroku has been my "go to" for most of my non-MS projects.
The free tier is a single dyno (like a small app server instance), easily scaled, deployment is simple via Git.
Single free dynos will "sleep" if idle for 60 minutes, then just require a hit to wake (<15s or so). They also offer a free DB tier for Postgres, it's the Basic-Dev, has some limits like no more than 10K rows, low/no caching, etc.
While I've only used them for Rails and Node, I did for hoots push up a PHP app, and it worked as expected!