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

About You Forum

View Course » View Exercise

489 points
Dafd253a2d8529ad157682f47d6a31c3?s=140&d=retro
Submitted by
TheRealDaniel
over 2 years ago

17/21 [resolved] Stuck set the input's border to 0

Below is my code for 17/21. It keeps says to set the input's border to 0. I'm not sure what I'm doing wrong. Can anyone help me out? It's driving me mad.

<!DOCTYPE html>

<head>
    <style>

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

        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"> Daniel Serrano
    <p>This is the first decent website I am making from scratch. I will style it to make     it look nice and presentable.</p>
    <input type="email" placeholder="Email">
    <input type="submit">

</body>

0 votes

permalink

I just copied and pasted the code from the hint box into the notepad. The code I pasted here worked for all the rest of the steps, so I'm not sure what the problem was. Whatever.

489 points
Dafd253a2d8529ad157682f47d6a31c3?s=140&d=retro
Submitted by
TheRealDaniel
over 2 years ago


0 votes

permalink

HI daniel,

In case you are still wondering why that code wasn't accepted, this is where the problem is with the brackets:

p {
    font-size: 24px;
{

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 2 years ago

2 Comments

Dafd253a2d8529ad157682f47d6a31c3?s=140&d=retro TheRealDaniel over 2 years ago

I'm not sure I ever would have caught that. Thanks!

55df2afa95e3787b9200005e_359368177 Judy over 2 years ago

You're welcome!