Build a Travel Agency - STEP 4

Hi, my code is apparently all good, but it insists I must put 2 meta elements inside the head element. It is like that, so I don’t know what to do. The rest is all fine. Please help! I don’t know how to show the actual code, but I swear it has 2 meta elements.

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8" />

<title>Infinite Adventure Travel Agency</title>

<meta name="description" content="Travel agency homepage offering multiple destinations for nature lovers and adventure seekers in Africa" />

</head>

<body>

<main>

<h1>Tanzania, Namibia and Rwanda might be your next distinations!

</h1>

<p>Welcome to the Infinite Adventures travel Agency website! If you love nature and love adventures, and dream about smelling the air of the african savannah, you are in the right place!

</p>
1 Like

Hi there and welcome to the forum!

Can you give a link to this step, please?

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

Hi Ray! Thanks! What do you mean to give you a link to the step?

I execute the code and all is fine except step 4. You should have two meta elements within your head element.

So I’m confused, I see all running good.

This is the link to the project they were asking for. I have updated your post to include it so people can help. In the future, please make sure to include links to what you are working on. When people help out, they paste your code into the editor for the project you are working on to see what the issue is. Without that link, they are left to just glance at the code and guess at what might be wrong :+1:

1 Like

I pasted your code into the editor and passing user story four

Passed:4. You should have two meta elements within your head element.

But I am failing user stories 2 and 3

  • Failed:2. You should have an html element with lang set to en.

  • Failed:3. You should have a head element within the html element.

It looks like you are missing some closing tags in the code you provided for us. You need to complete your HTML to pass those tests.

hope that helps

Take a look at the explanation above, please.

And in the future, if you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.