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

About You Forum

View Course » View Exercise

16 points
C9c19c2044589de9aaa3acc87bb2c7b7?s=140&d=retro
Submitted by
leebragg76
over 3 years ago

17/21 Can not get past "oops, try again. Set the inputs "border" to "0"

<!DOCTYPE html>
<head>
<style>
body {
    text-align: center;
    background-size: url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");
                color: white;
            font-family: Helvetica;
            background-size; cover;
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: fixed;

    p {
        font-size: 24px;
}
input   {
    border: 0;
}

</style>
</head>

<body>


<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">Lee Bragg</h1>
<p> Hi! I am learning how to make my very own web page! I enjoy Italian food, and some old school video games. I do actually enjoy long walks on the beach.</p>

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

</body>

0 votes

permalink

Hi Lee,

  • Both of your images have some sort of error in their links. If you copy/paste each link into a new tab you will see what I mean. Check back in 13/21 and 14/21 to get the correct links.
  • This stray bit of code: Lee Bragg</h1> should have been removed back in exercise 13/21
  • There should be more code after I do act, maybe you just didn't show us that?

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

7 Comments

Picture Evan over 3 years ago

Also, I'm not sure how much this matters, but "border; 0;" shouldn't it be just a colon after "border" to look like "border:" instead of how he has it?

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

You are right Evan, I didn't notice that - good eye!

Picture Evan over 3 years ago

On a side note, I was experiencing the same problem. Yet, for some reason, it worked when I simply put the input styling above the body styling.
So if this is still an issue that could be tried. I'm very new at this stuff though so maybe it was just luck, although I'm not sure that exists in programming :P

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

I'll try that next time someone reports this problem.

C9c19c2044589de9aaa3acc87bb2c7b7?s=140&d=retro leebragg76 over 3 years ago

Can we bypass 13 and 14, I don't understand where to find the image. I was just attempting to copy what was there. I don't have an image to input. Is there a final copy to see what the whole string of code should look like?

C9c19c2044589de9aaa3acc87bb2c7b7?s=140&d=retro leebragg76 over 3 years ago

Sadly the box in which to update the question cuts off the code. The ability to add a screenshot or attachment would be a fantastic add-on

C9c19c2044589de9aaa3acc87bb2c7b7?s=140&d=retro leebragg76 over 3 years ago

Here is the bottom ( the beach.


0 votes

permalink

Hi Lee, you've almost got it there now.

  1. Your body selector is missing its closing }.
  2. This:

    background-size: url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");

Should be like this:

background: url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago