Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

point 31 and 32 are not working even thought i wrote what it exactly said

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Travel Agency Page</title>
    <meta name="description" content="our company stirves to  make ethiopia one of the hot tourist areas by showing our travelers the many wonders it has to offer">
  </head>  
  <body> 
     <h1>Travel destinations</h1>
       <p>our travels opportunities mainly focus on east and south ethiopia they are as follows</p>
      <h2>Packages</h2>
        <p>there mainly 2 packages we offer with each having their own thing to offer</p> 
        <ul>
         <li><a>Group Travels</a> by bus</li>
         <li><a>Private Tours</a> by car</li>
        </ul> 
  
      <h2>Top Itineraries</h2>
      
          <figure>
            <a href="https://www.freecodeccamp.org/learn" target="_blank">
             <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRMS7gvfgFWlkY2AGfBAblmD8sR1Nwi2EAc6Q&s" alt="house interior">
            </a>
            <figcaption>harari house</figcaption>
          </figure>
         
          <figure>
            <a href="https://www.freecodecamp.org/learn" target="_blank">
             <img src="ethiopia-insight.com/wp-content/uploads/20221/08/Dire-Rail-way-main-picture.jpg" alt="a staion">
            </a>
            <figcaption>dire rail station</figcaption>
          </figure> 
         
          <figure>
             <a href="https://www.freecodecamp.org/learn" target="_blank">
              <img src="encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQsvjpa2knAxJEXei%v9Y_kUozrC8pwm78H-w&s" alt="mountain">
             </a> 
             
             <figcaption>mountain in arba mich</figcaption>
          </figure>
         
         
  </body>         
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

hi there, welcome to the forum.

Let’s look at the first failure.

. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn . Don’t forget the links in the list items.

Now try to look at all your anchor elements. Some of them are not having this href attribute. Can you see which ones I mean?

2 Likes

thanks,but even after adding the additional href elements its still not working,while i did have point 32(target="_blank) ticked

1 Like

please share your updated code

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

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

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

1 Like

Check your code carefully. All a elements should have the two attributes requested by the lab.

1 Like