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

Stavros Sofroniadis
PLUS
Stavros Sofroniadis
Courses Plus Student 1,503 Points

Canot conect HTML with CSS file

Dear Friends,

have created a nested list into HTML file and applied css to the html file,

However doesnt seem to apply localy have tested, https://w.trhou.se/iqlwxal8b3

If you can have a look and assist,

Thank You,

3 Answers

The first thing I notice is that you have

type="tex/css"

instead of

type="text/css"

Hi Stavros,

three things to correct:

1) The value for the type attribute has a spelling mistake. You wrote "tex/css" instead of "text/css".

2) You do not provide the actual link to the stylesheet. To do that you have to also include the href attribute and put the file path to your stylesheet as a value.

3) You forgot the ">" at the end of link tag! ;-)

Let me know if you need further assistance!

Nils

PS: You can upvote my post and/or mark as "best answer" (at the bottom of my post) if it helped you. :-)

Ah sorry!!!!

Update: You only have to correct number 1.

I did not look at the next line. ;-)

Because usually you write the code all in one line - which you should maybe also change. Could cause another problem.