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

challenge task.

I set the padding to 15px. why it didn't work?

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

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

  margin= 10px;
  padding= 15px;

1 Answer

Amanda Allison
Amanda Allison
9,103 Points

You'll want to try using a colon ( : ) instead of an equals sign ( = ) like:

  margin: 10px;
  padding: 15px;

thank you :)