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

0 points
Submitted by Najib Nour
about 10 years

9/21 [resolved] Add a <head> tag on the first line before everything else.

i cannot pass the level it tells me Oops, try again. Add a <head> tag on the first line before everything else. any help?

 <head>
    <style> body {text-align: center;} body {text-align: center;} </style>
    </head>
    <body>
     <h1>Najib Nour</h1>
     <p>Hi! I am learning how to make my verry own web page! I really like blueberry muffins and long walks on the beach. </p>
     <input type="email" Placeholder="[email protected]">
     <input type="submit">   
     </body>

Answer 52f6a70d9c4e9d417100323a

1 vote

Permalink

Hi najibaaa, are you sure that you don’t have any spaces, characters or blank lines before your <head> tag? Make sure it is on line 1 in space 1.

points
Submitted by Judy
about 10 years

2 comments

Najib Nour about 10 years

the spaces were the problem thx man!

Judy about 10 years

You’re welcome!

Answer 53002f0d8c1ccc70860019f3

0 votes

Permalink

Delete everything, except the style tags and it should work. While, I’m here, does anyone know how to pass the “Hangman Game” in CodeYear? The other one that I’m having trouble with is “Sliding with jQuery.” Please provide your code. I’ve tried every solution.

points
Submitted by Leo M.
about 10 years