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

0 points
Submitted by TheRealDaniel
over 8 years

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>

Answer 55d7eb139113cb12b00001a6

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.

points
Submitted by TheRealDaniel
over 8 years

Answer 55dc98f39113cb2a29000660

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;
{
points
Submitted by Judy
over 8 years

2 comments

TheRealDaniel over 8 years

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

Judy over 8 years

You’re welcome!