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

Lynn Collins
Lynn Collins
6,675 Points

What am I doing wrong now?

I keep screwing this up....need help fast please!

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

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


2 Answers

Connor Powers
Connor Powers
1,247 Points

It looks like have a copy/paste error! Review you're first anchor tag after "Follow me on twitter!"

Jamie Reardon
Jamie Reardon
Front End Web Development Techdegree Student 9,030 Points

Hi, you need to add the class to both anchor elements like this:

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

Your syntax was incorrect, you only defined the social-links class to the first anchor element, you also had two closing anchor tags on the first line.