Hello! I'm having difficulties with pasting scc code in style.css. After I do it, there's no effect on web page!


#1



When the code is still in index.html, style is alright. I can see it clearly on sea blue letters of the link. After I paste the code into style.css tab, nothing happens. Everything is "unexpected" and red!

What else should I do besides just coping and pasting the code? Thank you for your help!


{
  font-family: 'Georgia', 'Times', serif;
}

a {
  color: SeaGreen;
  text-decoration: none;
}

img {
  border-radius: 100%;
}


#2

Here you don't tell the CSS what to edit/style


#3

Thank you very much! I'll do that tomorrow morning! :slight_smile:


#4

Hi! javascriptjo! I still have a problem with this. I put that h1, but that wasn't my issue! I've had it before and deleted it accidently while trying to figure out what to do!

I don't know what else to add, because nothing happens when the code looks like that.

When it's in index.html, the code works just as it is, as it looks like. But, when I paste the code into style.css, that is not enough anymore. What should I add in curly brackets, or in front of them, so it would work out?

Thank you again!


#5

Solved it! :wink: :slight_smile:
I didn't write the link right!
Sorry for bothering you!


#6

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