Tell us what’s happening:
Hey guys, so i am having some problems with points 2,3 and 9. It says that i have no html element in my code and that the body and head parts are not within it. Am i missing something? The syntax seems to be fine, i ran it through “Nu Html checker” and it didn’t show any errors. I’ve noticed while coding that the section element might mess up some testing points, but even after deleting them the problems stays there. Any ideas what the problem could be? Thanks for the help in advance !
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Travel Agency Page">
<title>Travel Agency Page</title>
</head>
<body>
<section>
<h1>Where to?</h1>
<p>The choices are endless!</p>
</section>
<section>
<h2>Packages</h2>
<p>Possible option</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></li>
</ul>
<h2>Top Itineraries</h2>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colosseum"></a>
<figcaption>Colosseum</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Alps"></a>
<figcaption>Alps</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Sea"></a>
<figcaption>Sea</figcaption>
</figure>
</section>
</body>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
https://www.freecodecamp.org/learn/full-stack-developer/lab-travel-agency-page/build-a-travel-agency-page