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

About You Forum

View Course » View Exercise

77 points
5611cb863e0ec85844000041_132227920
Submitted by
sreajt
almost 2 years ago

15/21 Background Check -- Having some issues, please help?

I'm having some trouble getting past About You 15/21: Background Check. I'm pretty sure I've done everything correctly, but it says "Oops, try again. Set the body's "background-size" to "cover"." I thought I did that...? (Also, I know my background image isn't actually linked to an image... I was still trying to decide on one.) Sorry, I'm new to HTML. Thanks for your help.

Here's my code snippet:

    <!DOCTYPE html>

    <head>

    <style>
        body {
            text-align: center;
            background: url("http://st.hzcdn.com/simgs/6b2170d804214448_4-0178/contemporary-wall-decals.jpg")
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            color: #2cce91;
            font-family: 'Verdana', sans-serif;
            font-size: 11px;
        }

    </style>

    </head>

    <!-- HTML begins here-->

<body>

<img src="LINK">

<p>Hello World! Welcome to my first web page :) I love to travel and do anything creative.</p>

<p>If you have any questions or simply want to say hi, submit your email below!</p>

<input type="email" placeholder="Email">
<input type="submit">

</body>