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

About You Forum

View Course » View Exercise

93 points
5531297751b8872f60000182_153812523
Submitted by
africanbarbie
over 2 years ago

17/21 [resolved] please check my code it keeps telling me to set inputs border to 0

<!DOCTYPE html>
<head><style>body{ text-align: center; background:url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");color:white;font-family:Helvetica;background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed;p{font-size:24px;}input{border:0;}</style></head>
<body>
<img src=https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQOEeJJZbe5-rTCjCaV0XE8QHl1_SRQpwmjs2IC0jvKJgtd4UAeow>
<p>Hi !I'm learning how to make my very own webpage!So excited</p>
<input type ="Email" placeholder="Email">
<input type="submit" 
</body>

0 votes

permalink

Hi africanbarbie,

That's a little bit hard to read, but it looks like your body selector is missing its closing }.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 2 years ago

4 Comments

5531297751b8872f60000182_153812523 africanbarbie over 2 years ago

thnks

55df2afa95e3787b9200005e_359368177 Judy over 2 years ago

You're welcome.

2f598fbaadb29e616d1156ce4f1c3f93?s=140&d=retro Kendall Abney over 2 years ago

Hi AlbionsRefuge,
I'm having the same problem.....
but i don't understand what you mean by the body selector missing its closing?
can you explain that?

55df2afa95e3787b9200005e_359368177 Judy over 2 years ago

Hi Kendall, when you write a CSS rule, you first say what you want to select, then you put the property/value pairs inside { }. So to style the body you would say: body { ... put your properties in here ... }.