Can I make a website myself from scratch and use Infinityfree for hosting?

Other Information

If I were to code a website myself from scratch, would I then be able to take the HTML, CSS, and Javascript files (and other files associated with the website such as mp3 files, etc.) and upload them to Infinityfree to host the website?

Yes, you can.

Thanks. I had a feeling that this would probably be an extremely easy question to find an answer for just by Googling, but I didn’t manage to find one, and I know that not all hosting platforms allow you to do that, so I just thought I’d ask on here. But yeah, thanks for the answer

Hosting a static website is no problem at all with a regular web hosting account. Companies that provide managed website builders do not allow you to bring your own code (the whole point of their service is that you don’t need to manage your own code), but with an actual hosting account it’s no problem.