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

Xavier Mcloud
Xavier Mcloud
1,664 Points

I need help on "social-links" code

need help on "social-links" code

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

Adam N
Adam N
70,212 Points

Did you try using the hint?

Dejuan Castro
Dejuan Castro
3,347 Points

I'm assuming you're talking about the anchor tag. It looks like you need a url in the href attribute.

Adam N
Adam N
70,212 Points

Dejuan Castro You can tell by looking at his code that he's on the first task:

Add a class called "social-links" to each anchor tag.
Dejuan Castro
Dejuan Castro
3,347 Points

Adam N , Oh okay than all he needs to do for both is this ... <a href="#" class = "social-links" >Follow me on Twitter!</a>

Adam N
Adam N
70,212 Points

Gavin Eyquem No, he's on task 1 here. Adding classes.

1 Answer

MD MONIRUZZAMAN
MD MONIRUZZAMAN
5,376 Points

It will be like this: <a class="social-links" href="#">Follow me on Twitter!</a> <a class="social-links" href="#">Send me an Email!</a>

I hope it will works for you.