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

add a class called "social-Link" to anchor - Intro to HTML CSS

Cannot seem to understand what is need to add class to anchor group

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

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

  </body>
</html>
styles.css

1 Answer

Brandon Oakes
Brandon Oakes
Python Web Development Techdegree Student 11,498 Points

The question is asking you to add the "class" attribute specifically to the anchor element "<a>.

<!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>