This forum is now read-only. Please use our new forums at discuss.codecademy.com.

About You Forum

View Course » View Exercise

397 points
53888fa280ff3325790030a1_138435731
Submitted by
hatcat
over 3 years ago

5/21 [resolved] Can't set border to 0

this is my code:

<!DOCTYPE html>
<head><style>body {background-size: cover;background-position: center center;background-repeat: no-repeat;background-attachment: fixed;text-align: center;background: url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");color: white;font-family: Helvetica;p {font-size: 24px;} input {border: 0;}}</style></head>
<body>
<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">
<p>Hi i'm learning to code and i'm 8 years old this is so cool</p>
<p>please submit your email</p>
<input type="email" placeholder="Your email">
<input type="submit">
</body>

what am I doing wrong ?


0 votes

permalink

Hi hatcat, it is really hard to see with your code all squished up like that, but your body selector is missing its } - it looks like you put it after your input selector.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

2 Comments

53888fa280ff3325790030a1_138435731 hatcat over 3 years ago

thank you, i will fix that

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

You're welcome.