I’m having trouble dealing with the instructions on numbers 22, 25, and 28. I have no idea about having a second h2.
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>
<h1>Take a Tour of Central Asia - From Kazakhstan to Tajikistan</h1>
</body>
<p>A golden opportunity to take a tour of the Eurasian heartland, from the vast steppes of Kazakhstan, to the enchanting cities within Uzbekistan, and finally, to the snowy mountain peaks of Kyrgyzstan and Tajikistan.</p>
<h2>Packages</h2>
<p>There are two options for the various tours to choose from:</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</li></a>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</li></a>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Tian Shan Mountains" style="width:100%">
<figcaption>Fig 01 - Tian Shan Mountains</figcaption>
</figure>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="City of Almaty" style="width:100%">
<figcaption>Fig 02 - City of Almaty</figcaption>
</figure>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Caspian Sea" style="width:100%">
<figcaption>Fig 03 - Caspian Sea</figcaption>
</figure>
<h2>Top Itineraries</h2>
<ul>
<li>3 Days in Ashgabat, Turkmenistan.</li>
<li>4 Days in Samarkand, Uzbekistan.</li>
<li>2 Days' quick tours of Khiva and Bukhara in Uzbekistan.</li>
<li>3 Days' tour in Dushanbe, Tajikistan.</li>
<li>4 Days' tour in Bishkek, Kyrgyzstan, which includes the tour of the Tian Shan mountains.</li>
<li>5 Days' tour inside Kazakhstan, starting with Almaty, then Baikonur Space Station, and concluding the entire tour, the city of Astana.</li>
<h2>Package Prices</h2>
<li>Group Travels: $2,400 CDN</li>
<li>Private Tours: $1,300 CDN</li>
</ul>
</html>
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
I don’t understand having the h2 element after the ul list, and I don’t understand the anchor elements.
Wouldn’t the h2 elements after the ul list only expand the fonts on the ul? And when I did number 28 correctly, number 26 becomes the error where I need to have the figure to have a figcaption.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Travel Agency Page">
<title>Travel Agency Page</title>
</head>
<body>
<h1>Take a Tour of Central Asia - From Kazakhstan to Tajikistan</h1>
<p>A golden opportunity to take a tour of the Eurasian heartland, from the vast steppes of Kazakhstan, to the enchanting cities within Uzbekistan, and finally, to the snowy mountain peaks of Kyrgyzstan and Tajikistan.</p>
<h2>Packages</h2>
<p>There are two options for the various tours to choose from:</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="\_blank">Group Travels</li></a>
<li><a href="https://www.freecodecamp.org/learn" target="\_blank">Private Tours</li></a>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Tian Shan Mountains" style="width:100%">
<figcaption>Fig 01 - Tian Shan Mountains</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="\_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="City of Almaty" style="width:100%">
<figcaption>Fig 02 - City of Almaty</figcaption>
</figure>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Caspian Sea" style="width:100%">
<figcaption>Fig 03 - Caspian Sea</figcaption>
</figure>
<h2>Top Itineraries</h2>
<ul>
<li>3 Days in Ashgabat, Turkmenistan.</li>
<li>4 Days in Samarkand, Uzbekistan.</li>
<li>2 Days' quick tours of Khiva and Bukhara in Uzbekistan.</li>
<li>3 Days' tour in Dushanbe, Tajikistan.</li>
<li>4 Days' tour in Bishkek, Kyrgyzstan, which includes the tour of the Tian Shan mountains.</li>
<li>5 Days' tour inside Kazakhstan, starting with Almaty, then Baikonur Space Station, and concluding the entire tour, the city of Astana.</li>
<h2>Package Prices</h2>
<li>Group Travels: $2,400 CDN</li>
<li>Private Tours: $1,300 CDN</li>
</ul>
</body>
</html>
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 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.
Okay. So for number 28, where would I insert the line with the img src then?
I still don’t understand about having the h2 after the ul list, because wouldn’t the h2 be a header and the ul would have a set of smaller fonts in it?
the h2 is after the ul because there a new section of the text starts. The ul is under the previous h2, there you can see the hierarchy you are thinking about
read the user stories about what you should write inside the figure elements, if you have any doubts please ask them