Learn HTML & CSS Part 1


#1

I have tried lots of ways but i couldn't find what do i need to do to pass this section. Can someone help me about this issue?

I am always taking this error "Did you link the stylesheet?"

https://www.codecademy.com/courses/learn-html-css/lessons/css-setup/exercises/review-css-setup?action=lesson_resume


#2

You need to add a link tag. Please post your code and we will tell you what is wrong.

We do not like posting correct answers.


#3

A post was split to a new topic: I am having the same problem. Here is my code:


#4

In your section add: < link href="/style.css" type="text/css" rel="stylesheet" >
Hope you find this helpful.


#5

how do you add a link tag? my screen doesnt even have a style sheet available


#6

You need to add this line of code to the head part of the index.html file:

<link  href="" type="" rel="">

Please remember that you have to add correct values to the attributes (href, type, rel).


#7

Here is what I put and it still doesn't work:


#8

Ah, never mind. Read the instructions literally. It's pretty misleading because earlier in the lessons, they tell you to link to a URL unless you have a .css in the same directory, in which case you can simply link to "style.css" as in the previous lesson. In this lesson, there is no "style.css" tab so one naturally assumes the link code is correct (with the obvious exceptions). Lame.


#9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.