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

0 points
Submitted by Meilir Rhys Owen
almost 10 years

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

Permalink

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>
points
Submitted by Judy
almost 10 years

2 comments

That didn’t really answer the question. Mine keeps coming up with the same error, but everything is in the correct place

Judy almost 10 years

Hi Victoria, could you show us the order of your background properties please?