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

About You Forum

View Course » View Exercise

37 points
Ca2e3be6fec1cf50f90b6c430a4fe617?s=140&d=retro
Submitted by
Meilir Rhys Owen
over 3 years ago

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>

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>

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

2 Comments

Picture Victoria Ashley Evelyn Johnson over 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

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