This forum is now read-only. Please use our new forums! Go to forums

0 points
almost 9 years

Why can't I link my index.html and stylesheet.css files?

I was trying to make the font-size 44px using my stylesheet.css file as opposed to the

, as that was the challenge of this lesson. however, I can’t determine what went wrong, because the stylesheet.css folder is there, but isn’t affecting index.html. When I try to show the code here, most of it doesn’t show up. It’s the starter code for 5/26 of CSS: An Overview. I had the link type=”text/css” rel=”stylesheet” between the opening head tag and opening html tag.

  Thanks in advance!
Gecko_po_2002

Answer 5533c59551b88733a100014e

3 votes

Permalink

To link your CSS with your HTML you should use a link tag which you have started to use but not finished. You should have a ‘href’ part to the link. This is what it looks like:

<link type="text/css" rel="stylesheet" href="stylesheet.css">
points
Submitted by red7cool
almost 9 years

2 comments

Thanks! Turns out I forgot the href part at the end.

red7cool almost 9 years

np

Answer 552cd71dd3292f629f0000b9

0 votes

Permalink

check here how to format your code. Your code is currently not visible. if you update your question please leave a comment so i get a notification.

If you put your code i a comment, i am going to ask you to redo it, and use proper format.

Does your link have an href attribute? it is the most important bit of the <link> tag

points
Submitted by stetim94
almost 9 years

Answer 5537fc57d3292f7f3f000113

-22 votes

Permalink

fuck u

points
Submitted by Murry288
almost 9 years