18 Links


Whats wrong with my code? It comes up with a error message that says: Oops, try again. Do your <a> tags all have href attributes?


<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<!--Add your HTML below!-->
		<a href="https://www.newegg.com">Buy Computer Parts!</a> 
		<a href="https://www.youtube.com">Subscribe!</a>
		<a href="https://www.yahoo.com">Check your mail!</a>

CSS Code

    text-decoration: none 
body: first-child {
    color: #CDBE70 
body: nth-child(3){
    color: #FFC125


If you want to select element inside the body, make sure you get the spacing right, the space should be before the colon, not after:

body :first-child


@mzahoor, posting full answers without any explanation is not according to the guidelines, keep that in mind next time. Plus, the issue was already resolved, you can also select the links as elements inside the body