This code looks 100% correct to me.
How could this possibly be wrong?
It has all of the following:
- There should be only one
head
element on the page.
- There should be only one
body
element on the page.
- The
head
element should be a child of the html
element.
- The
body
element should be a child of the html
element.
- The
head
element should wrap around the title
element.
- The
body
element should wrap around both the h1
and p
elements.
Your code so far:
<!DOCTYPE html>
<html>
<head>
<title>The best page ever</title>
</head>
<body>
<h1>The best page ever</h1>
<p>Cat ipsum dolor sit amet.</p>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
.
Challenge: Define the Head and Body of an HTML Document
Link to the challenge:
ramease
2
Hey @unixdisciple,
Welcome to the forum
Your code worked perfectly for me , try refreshing your browser, clearing cache or resetting the code.
Good Luck !
@ramease - That’s so strange!
After running into issues with Firefox, I visited the site using a new “private window” - didn’t work.
However, when I opened the site using Chrome it worked just fine.
I suspect that Firefox’s private window was somehow using session data from the “non-private” Firefox screen I still had up???
Anyway, it’s working now. Thanks for the advice!
1 Like
@ramease - Also, thank you for the welcome!
Love this site so far!
1 Like
The issue should be with browser, it is a very straightforward code