Responsive web design project -tribute page

In my tribute page I’ve created some linked text , my page background color is blue and linked text remain blue other text is right(white). I can’t change the blue color of my linked text.
can you guys help me , here is my project link:

I want to change my linked text color

You need to target a under article.

One way to do it is through selecting direct children using > notation.

For example,

article > a {
  color: ...;
}

Tried but still not working :frowning:

Are you sure?

When I insert the code between your other selectors, it works.

article,a{
  max-width:75em;
  margin:0 auto;
  text-align:left;
  font-size:auto;
  text-decoration: none;
  
}

article > a {
  color: green;
}

 a: link { color: black; }
 a:visited { color:pink; }
 a:hover{ color: red; }
 a:active{ color: yellow; }
1 Like

Thanks a lot, it works :heart_eyes:
(it didn’t worked before cause I added code like this :

article > a{
  max-width:75em;
  margin:0 auto;
  text-align:left;
  font-size:auto;
  text-decoration: none;
  color: black;
}
1 Like