Ultimate HTML5 & CSS Series 1 - Index.html

Hi, I am a bit perplexed over the index.html in each video section/lesson of HTML5 & CSS Series Part 1. I noticed that for each tutorial on a new topic, like Tables, there is a new Index.html. Not sure if it’s a file or folder created for each lesson or topic. The directory is not shown on the left, and there is no clarity from Mosh whether he created a new Index.html folder/file?

Can someone advice whether or not we need to create a new index.html file for each lesson? Or how to go about it?

Thanks, Meera

Yeah it’s a bit confusing. Just know for these tutorials you really won’t need to keep the code for anything longterm except maybe the final of the 3 tutorials their is a full website build.

So my advice just focus on learning, if you make a new one or edit an existing one there is no way to know for sure what he will do with it in the next lesson until you get to it. You might need to retype once or twice cause he edits thens goes back to an old version but it’s okay.

This is one of the frustrations of coding that needs to become a normal thing, having to rewrite code. If you don’t get used to it, you will go crazy.

Thanks for your suggestion! Makes sense!

1 Like