What's the problem wit this code?

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!/
height: 50px;
width: 120px;
border-style: 2px solid #6495ED;
background-color: #BCD2EE;
border-radius: 5px;
text-align: center;
color: #aaaaff;
text-decoration: none;

margin is spelt incorrectly

well there is still a problem with the text-decoration cannot find what though. and thx for the help but if you could help me wit hthat to i would be very thankfull

1 Like

Could you paste in your HTML

Please use this format when pasting in code


 Replace this line with your code 

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>About Me</title>
		<img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
		<p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
			<a href="https://facebook.com"><span>Friend us on facebook</span></a>

What is the error msg?

[quote=“jenson1234, post:8, topic:30811”]
[/quote] leave a space between ..." and />
.png" />

Did you remember to set your link’s text-decoration to none;?

You see you have text decoration on span set you need to set it to your link a

Don’t forget the instructions also say to set color and font to whatever you like

instructions for CSS:Set your link’s text-decoration to none. Give it whatever color or font-family you like!

ahh thank you for that had alot of problems figuring that out!:smiley:

1 Like

Np, You’re welcome

Happy Learning :slightly_smiling:
Happy coding !
What inspired you to learn programming ?
Join the discussion

1 Like

the border-style doesn’t work

Please paste in your code so we can have a look

1 Like

sure and i’m doing it right now

#intro {
.standout {
color: #F7AC5F;

What error are you getting… Full CSS + HTML pls

1 Like

nothing because im done with HTML and CSS with the whole thing.

2 posts were split to a new topic: 2.Drawing your button