HTML Introduction to HTML and CSS Make It Beautiful With CSS Adding a Style to several Elements using Class

Yasir alabadi
Yasir alabadi
3,205 Points

add a class called 'social-links' to each anchor tag- I have, but its saying its wrong?

add a class called 'social-links' to each anchor tag- I have, but its saying its wrong?

index.html
<!doctype html>
<html>
  <head>
    <title>List Example</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>


    <a class="social-links" href="#">">Follow me on Twitter!</a>
    <a class="social-links" href="#">Send me an Email!</a>

  </body>
</html>
styles.css

3 Answers

Dmitry Polyakov
Dmitry Polyakov
4,392 Points

Are you adding it this way?

<a class="social-links" href="#">Follow me on Twitter!</a>

<a class="social-links" href="#">Send me an Email!</a>

Yasir alabadi
Yasir alabadi
3,205 Points

Yes, You can see my code above :) I think it might be a technical error from Treehouse

Dmitry Polyakov
Dmitry Polyakov
4,392 Points

Weird... It's working now with me...