Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I don’t know what I am doing wrong here
31. 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.
Failed:
32. Each a element should have a target attribute with the value of _blank. Don’t forget the links in the list items.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head><meta charset="utf-8"></head>
<head><meta name="description" content="Explore the verity of packages include group travels and solo travels."> <body>
<title> Shay Travel Agency </title></head>
<h1>Travel destinations</h1>
<p>Explore unforgettable travel opportunities designed to match every style and budget.From relaxing beach  escapes to adventurous city breaks,discover destinations that inspire,excite, and create lasting memories.</p>
<h2>Packages</h2>
<P>Relaxing beach vacation,city explore,thrilling outdoor experiance,cultural journey</p>
  <ul>
   <li><a href="#">Group Travels</a></li>
    <li><a href="#">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="historical builtding"></a> <figcaption>historical building</figcaption></figure>
 <figure>
   <a href="https://www.freecodecamp.org/learn" target="_blank">
   <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="mountain view"></a><figcaption>mountain view</figcaption></figure>
 <figure>
   <a href="https://www.freecodecamp.org/learn" target="_blank">
   <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="relaxing beach view"></a><figcaption>relaxing beach view</figcaption></figure></body></html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @natasha3

For test 31, please check each href attribute value.

Happy coding

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.