This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS Selectors Forum

View Course

284 points
9e8b071309b6215eced49a1290327d36?s=140&d=retro
Submitted by
Ivygirl1381
about 2 years ago

I keep getting put some text between<a></a> on lesson

Hi,
This lesson 18 on Pseudo-Class Selectors keeps telling me to add text in between my . I have it there, but maybe I'm missing something afer staring at it too long.I wrote this:
<!DOCTYPE html>



Result


<!--Add your HTML below!-->

Fall Into the Gap.!

For the Savvy Girl!
The Sole of Life!

</body>

in the CSS style sheet:
a:hover {
text-decoration: none;
}

a:first-child {
color: #CDBE70;

}
a:nth-child(3) {
color: #FFC125;
}

If you can help,I'd appreciate it. I know it's something very simple looking me in the face. Thanks much!
Lauren S.


0 votes

permalink

check here how to format your code. Your html 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.

2937 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 2 years ago


0 votes

permalink

Hello,
Sorry about that,not sure why that occurred.Will resend the question.

284 points
9e8b071309b6215eced49a1290327d36?s=140&d=retro
Submitted by
Ivygirl1381
about 2 years ago

2 Comments

593d545c83696644420003b7_64554016 stetim94 about 2 years ago

just post your html code here, the error is in html. If i can see it, i can help you

9e8b071309b6215eced49a1290327d36?s=140&d=retro Ivygirl1381 about 2 years ago

<!DOCTYPE html>



Result


<!--Add your HTML below!-->

Fall Into the Gap!

For the Savvy Girl!
The Sole of Life! This is getting on my nerves.

</body>
<head>
     <<link type="text/css"  "rel=stylesheet"  href="stylesheet.css"/>
                     <title>Result</title>
</head>
<body>
   <ul>
      <li><a   href="http://www.gap.com">Fall Into the Gap!</a></li>
       <li><a  href="http://www.Pinkandgreengirl.com>For the Savvy Girl</a></li>
       <li><a  href="http://www.kennethcole.com">The Sole of LIfe</a></li>
  </body>
</html>

0 votes

permalink

when i said post your code here, did actual mean you used the format instructions i provided earlier. Anyway, your first link, your closing tag is a bit off, the slash is at the wrong place.

Sure you copied your code correctly to the forum? it looks a bit double

2937 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 2 years ago

2 Comments

9e8b071309b6215eced49a1290327d36?s=140&d=retro Ivygirl1381 about 2 years ago

It ran finally!The closing tag of was in the incorrect position.I was so punch drunk tired from looking at it that everything you were telling me was just sitting at the entrance of my ear lol! Thanks for the tip on how to format in the forum ( even though I didn't do that either. I'm new at all of this so don't sue me smile).I printed it out to put with my notes for future questions.I have been looking at your answers to other questions and they're always concise and makes it easier to think this through.So once again, thanks for your assistance and pushing . Have a great day!!

593d545c83696644420003b7_64554016 stetim94 about 2 years ago

well done :D If you have any further questions feel free to ask, even if they are not exercise related.