Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Andrew Ge
2,158 PointsWrong Website Loading
I have multiple html files that refer to the same CSS file. However, when I run any of them, only one of the four shows up in the new tab, no matter which file I run.

Andrew Ge
2,158 PointsI have a file called index.html and cloneindex.html , and they both use normalize.css and main.css.

Andrew Ge
2,158 PointsThey refer to two CSS files, actually:
<link rel="stylesheet" href="CSS/normalize.css"> <link rel="stylesheet" href="CSS/main.css">
This shows up in two of the four.

Jonathan Newman
5,219 Points"They refer to two CSS files, actually:
This shows up in two of the four."
Two of the four what?
From what I understand you have 4 files: index.html cloneindex.html main.css normalize.css
Both index.html and cloneindex.html run main.css and normalize.css
Correct? Not sure what the problem is. Please elaborate.

Andrew Ge
2,158 PointsSorry for the goose chase. Thanks anyway!
1 Answer

Andrew Ge
2,158 PointsI just figured it out; the browser only shows the code that is in index.html... right?

Jonathan Newman
5,219 PointsYes
Aled Evans
3,163 PointsAled Evans
3,163 PointsCan you elaborate a bit more?
What are the files called? How are you calling the CSS file?