I don't see the problem with desing a button


#1

Oops, try again. Did you remember to set your link's text-decoration to none;

What is the problem with my code?

HTML:









We're Codecademy! We're here to help you learn to code.





Friend us on Facebook


css:

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

div {

height: 50px;
width: 120px;
border-color: #6495ED;
background-color: #BCD2EE;
border-style: solid;
border-width: 2px; 
border-radius: 5px;
margin: auto;
text-align: center;
font-family: verdana;
text-decoration: none;
color: red;
}

span {
text-decoration: none;
color: red;
font-family: verdana;
}


#2

Please read this post about markdown so your code/indent will show.

You set your spans text-decoration to none, not your link. Take a moment to consider that link is a word we use to describe this element: <a></a>, so think careful about what the css selector should be


#3

Thanks i will do :grinning: