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

0 points
Submitted by Dclewis1986
almost 9 years

20/21 [resolved]

i keep getting Oops, try again. Give your ‘input[type=”submit”]’ a ‘background’ of ‘limegreen’

i have looked through my code numerous times but just cant get the button to go green.

<!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;
    padding:12px;
    font-size:18px;
}

input[type="input"] {
color:black;
background:limegreen;
}
</style>
</head>
<body>

<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">

<p> Hi! I am learning how to make my very own web page! I really like blueberry muffins and long walks on the beach,</p>
<input type="email" placeholder="Email">
<input type="submit">

</body>

Answer 55300c6151b88710460000d4

0 votes

Permalink

Hi Dclewis1986,

The error message is telling you that it is looking for: input[type="submit"] You have this in your code: input[type="input"]

points
Submitted by Judy
almost 9 years

4 comments

Dclewis1986 almost 9 years

thank you, i dont know how i missed that

Judy almost 9 years

You’re welcome! There are lots of unfamiliar things to learn about so it’s easy to miss something like that. It will get easier.

Snakedude almost 9 years

but if i put it after the input submit at the bottom, i see the code on the webpage.

Judy almost 9 years

@Snakedude, if you put what exactly where?