This forum is now read-only. Please use our new forums! Go to forums
15/21 heey can i get some help, im stuk with the code background-size: cover;
<!DOCTYPE html>
<head>
<style>
body {
background-size: cover;
background-position: center;
background-repeat no-repeat;
background-attachment: fixed;
text-align: center;
background: url("http://csgo-proplayers.ru/wp-content/uploads/2015/06/snayperskaya-vintovka-oruzhie-4357.jpg");
color: white;
font-family: Helvetica;
}
h1 {
text-align:center;
}
p {
text-align: center;
}
</style>
</head>
<body>
<img src="http://cs24h.com/wp-content/uploads/2015/07/CSGO-logo.png" height="250" width="width="250">
<p> Heey! I am the real Classic,
Im the best awper in the gaben country o.O
If your wanna ask em somthing or just play some games for fun, then uyou are welcome to mail me^^</p>
<input type="email" placeholder="Email">
<input type="submit">
</body>
Answer 560583259113cbd818000326
1 vote
Hi MR.P,
You will see that error when your background properties are overwriting each other. You need to place them so that doesn’t happen.
You can read more about that here: https://www.codecademy.com/forum_questions/5305fa5980ff33a4830012a4
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