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

0 points
Submitted by kouty
over 8 years

20/21 [resolved] There is noway to understand. Is there a problem with "limegreen" color?

    <!DOCTYPE html>
<head>
<style>
body {
    text-align: center;
    background: url("hhttps://codecademy-cintent.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: 10px;
};
input[type="submit"] {
    
      background: 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">
<input type= "email" placeholder="Email">
<input type="submit">
</body>

Answer 55be6aa09376762514000197

0 votes

Permalink

It worked for me with:

<!DOCTYPE html>
<head>
<style>
body {
    text-align: center;
    background: 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;
  font-size: 18px;
}
padding: 12px;

input[type="submit"] {
    color: black;
}
input[type="submit"] {
    background: limegreen;
}
</style>
</head>
<body>
<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
<img src=https://31.media.tumblr.com/avatar_aaf354352fc4_128.png>
<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>
points
Submitted by Edward
over 8 years

1 comments

kouty over 8 years

@Edward. I remake all the tutorial with gogle chrome and it’s OK I was firstly in firefox. Maybe the explanation

Answer 55be82089113cbeece0002ef

0 votes

Permalink

I am on firefox and had a few issues too.

points
Submitted by Edward
over 8 years

1 comments

kouty over 8 years

So I don’t know what. in 5/21 when we introduce the style tags in firefox was a bugg and someone says to cancell all the code bellow the style tags. and I make this. But in 20/21 it was a second bug. I tried from 5/21 to the end in chrome and no more problem occured.

Answer 55c3c16e9113cb0f6f0003a5

0 votes

Permalink

Try Edwards response i tried his and it worked perfctly.

points
Submitted by us
over 8 years

Answer 55f0b85f9376762e8300002c

0 votes

Permalink

safari sometimes works better

points
Submitted by Lydia Daigle
over 8 years