Index Vs Style

How do we organize website or webpage projects? Why use a folder for each and inside have an HTML file named index.html? And a CSS file named style.css? What’s the purpose of this pattern? Use an example to support your answer.

When you are generating your documents it’s important to save your content to the corresponding folders to ensure that the file is read appropriately. Different files have different places in the code. HTML and CSS files have different attributes and purposes. The HTML is the structure that holds the content. The CSS is the customization of said content. The file types have different functions therefore they must be clearly labeled to ensure that it would properly run. Index vs Style. These file types are not interchangable.

Leave a comment

Your email address will not be published. Required fields are marked *