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

Albert Lee
PRO
Albert Lee
Pro Student 1,896 Points

what did I forget? .social-links{padding =15px; margin=10px; } this is my code.. I watached a few times.

.social-links{padding =15px;

margin=10px; }

this is my code.. I watached a few ti

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
.social-links{padding =15px;

margin=10px;
}

2 Answers

you dont use "=" in css rather use colon(:) .social-links{padding:15px;

margin:10px; }

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