This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by africanbarbie
almost 9 years

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>

Answer 552ff4b5d3292fe8ef000141

0 votes

Permalink

Hi africanbarbie,

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

points
Submitted by Judy
almost 9 years

4 comments

africanbarbie almost 9 years

thnks

Judy almost 9 years

You’re welcome.

Kendall Abney almost 9 years

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?

Judy almost 9 years

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 … }.