Help with 15/21 and 19/21?


#1

<!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;
    padding: 12px;
    font-size: 18px;
}
</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 there! I'm Nicky55992. I live in Hawaii and enjoy gaming, playing volleyball, reading, drawing, and recently coding! I want to become a computer programmer when I grow up and am currently taking courses in Python, HTML, and C++.</p>
<input type="email" placeholder="Email">
</body>

So I had a problem with 17/21 which was promptly fixed with the help of another Codecademy member :smile:

Unfortunately, now I have another problem...two to be exact...with my code. First, with 15/21: I keep getting the message "expected body to have its background-position style equal to 50% 50% but got 50%"

I tried the IE workaround 1 (which is the browser I use) but that had no difference. Any other suggestions that can help?

Secondly, I have another problem with 19/21: I added "font-size: 18px" as the instructions told me, but I keep getting the error message Oops, try again. Where did your submit input go? Add an<input type='submit'>element at the bottom.

Where did I go wrong? Thank you to anyone who can help. :wink:


#2

Hi Nicky55992,

I'm not sure what's up with 15/21 - maybe if you try it in Chrome? I'm not sure :confused:
For 19/21, the error message pretty much tells you the problem - you're missing your <input type="submit"> :)


#3

I have just copy/pasted your code into IE and changed this one line:

background-position: 50% 50%;

and it passed for me.