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

HTML Introduction to HTML and CSS CSS Fundamentals CSS Properties

Tao Zhang
Tao Zhang
423 Points

my CSS file does not have any change on the index or carbonara file?

Here is my fork workspace: https://teamtreehouse.com/workspaces/42268301#fork

Also my carbonara file seems to link to the index page, not to its own content. I can only see its content from the link in the index page.

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Unfortunately that link is not working for me. Maybe refer back to this video on creating a snapshot of your workspace to make sure it was done correctly. By

Also my carbonara file seems to link to the index page, not to its own content.

Do you mean when clicking the Eyeball Preview button? If so, clicking this button will look for and automatically launch an index.html file, even if your carbonara.html is open in the text editor below 👍

Tao Zhang
Tao Zhang
423 Points

Thank you, Travis, sorry that link does not work. How about this one (snapshot version)? https://w.trhou.se/e5p68wjy7a or this one (fork snapshot version)? https://teamtreehouse.com/workspaces/e5p68wjy7a/fork

RE: carbonara.html file when I click on the eyeball preview button, it shows me the index page content, not the content for the recipe.

1 Answer

Steven Parker
Steven Parker
231,624 Points

The CSS file is not being used because the value for the rel keyword in the link tag is set to "stylessheet" (with an extra "s") instead of "stylesheet". This issue is the same in both HTML files.

The links seem correct to me, each file links to the other one. I don't think either file is supposed to link to itself.

Tao Zhang
Tao Zhang
423 Points

Thank you, Steven. The extra 's' is the culprit. That was the fix.

I am not quite sure what to make of the carbonara.html file. Isn't that file supposed to open a page showing its contents using the 'eyeball' view?