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

0 points
Submitted by Gatlingames
over 8 years

20/21 Limegrren not accepted as color.

<!DOCTYPE html>
<head><style> body {
   text-align: center;
   background: black;
    color: white;
    font-family: Helvetica;
   background-size: cover;
   background-position: center center;
   background-repeat: no-repeat;
   background-attachment: fixed;
}
 p {
    font-size:18px;
}
body {
    text-align: center;
}
input {
    border:0;
}
padding: 12px;
input[ type="submit" ] 
    {background-color: limegreen;
    color: black;}

</style></head>
<body>
<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">
<h1>Gatlingames</h1>
<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>

Plz help, the code for lime green will not work. Plz someone help!

Answer 55f18ebc86f55226c40006b4

0 votes

Permalink

Hi Gatlingames,

This line is causing your CSS problem:

padding: 12px;

It is just stuck there between your last two CSS rules. Where did you plan to have that located?

points
Submitted by Judy
over 8 years