Help with Design a Button for your Website 5/6 - Adding link - text-decoration!


#1

Currently, on part 5 of 6 - adding the link on Design a Button for you website.

I am stuck on the text-decoration part..i seem like I have the right code but the error still pop up. I was using chrome, than change to safari, and the error message still comes up.

Can someone look at me code below and see what wrong?

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

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

/*Start adding your CSS below!*/

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;

div a{
text-decoration: none;
color: #0000ff;
font-family: Georgia;
}


#2

your div css selector is missing its closing curly bracket (})


#3

Thanks for the help! :grinning:


#4

A post was split to a new topic: 5/6 adding a link, need help


#5

I do not know what's the problem? I get a little crazy


#6

@giau930132612.mghesh Please don't paste in images of your code across multiple posts, please do as suggested in this post.

Thereafter if you still have an error create a new topic with your code, error and lesson.

Thank you :slight_smile:


#7