This forum is now read-only. Please use our new forums! Go to forums
17/21 Oops, try again. Set the input's "border" to "0".
I’ve typed the code as it says in the instructions, but every time I check it, it comes up with, ‘Oops, try again. Set the input’s “border” to “0”.’. My code is:
<!DOCTYPE html>
<head>
<style>
body {
text-align: center;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background:url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/imageas/splash.jpg"");
color: orangered;
font-family: Helvetica;
}
p {
font-size: 24px;
}
input {
border: 0;
}
</style>
</head>
<body>
</body><img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" wodth="250">
<style>
body {
text-align: center;
}
</style>
<p>Hi! I am learning how to make my very own web page! I really music and would love to travel around the world in the future.</p>
<input type="email"placeholder="Email">
<input type="submit">
</body>
Answer 534f16e2548c35b2d4000494
0 votes
Hi Meilir,
It matters which order you put your background
properties in. Read more about why in the pinned post at the top of that page.
You also need to tidy things up a bit, here is what you should be aiming for:
<!DOCTYPE html>
<head>
<style>
all your CSS selectors go in here
</style>
</head>
<body>
all your HTML tags go in here
</body>
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
That didn’t really answer the question. Mine keeps coming up with the same error, but everything is in the correct place
Hi Victoria, could you show us the order of your background properties please?