<ul>
<li><a href="#group-travels">Group Travels</a></li>
<li><a href="#private-tours">Private Tours</a></li>
</ul>
<h2>Travel Gallery</h2>
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 Help button located on the challenge.
The 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.
Hi @mike_hoague,
I’ve edited your code for readability. Please post a link to this challenge or use the “Help” button.
Thank you.
I should have an h2 element after my unordered list and my code is as fallows. I do not know what I am doing wrong.
<ul>
<li><a href="#group-travels">Group Travels</a></li>
<li><a href="#private-tours">Private Tours</a></li>
</ul>
<h2>Packages</h2>
Tell us what’s happening:
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.
Your code so far
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.securem2.com/commonimages/pages/2021/11/kurtgardnermccauley.jpg" alt="Snowy mountains" width="300" />
</a>
<figcaption>Mountains</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://www.msccruisesusa.com/-/media/us/destinations/ocean-cay/msccruises_oceancay_bahamascruises_ship.jpg?bc=transparent&as=1&mh=606&mw=1020&hash=9DEC32037B9A502F727F22DC5341D7B8" alt="Bahma Curise" width="300">
</a>
<figcaption>Cruise</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/db/02/fd/the-outside-market-area.jpg?w=1400&h=-1&s=1" alt="Euperian shopping" alt="Eropean shopping" width="300">
</a>
<figcaption>Shoping</figcaption>
</figure>
Lesson URL (copy - paste from your browser’s address bar)
Tell us what’s happening:
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
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.securem2.com/commonimages/pages/2021/11/kurtgardnermccauley.jpg" alt="Snowy mountains" width="300" />
</a>
<figcaption>Mountains</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://www.msccruisesusa.com/-/media/us/destinations/ocean-cay/msccruises_oceancay_bahamascruises_ship.jpg?bc=transparent&as=1&mh=606&mw=1020&hash=9DEC32037B9A502F727F22DC5341D7B8" alt="Bahma Curise" width="300">
</a>
<figcaption>Cruise</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/db/02/fd/the-outside-market-area.jpg?w=1400&h=-1&s=1" alt="Euperian shopping" alt="Eropean shopping" width="300">
</a>
<figcaption>Shoping</figcaption>
</figure>
Lesson URL (copy - paste from your browser’s address bar)
please use the help button
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 Help button located on the challenge.
The 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.
I have merged all your topics about the Travel Page lab together, please make sure to use the button
or, please share all your code properly formatted and a link to the challenge
There are two ways you can format your code to make it easier to read and test:
- After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (
</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)
- Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see this post.
To see changes to your post as you make them, you can click the (M+) button on the toolbar to bring up the rich text editor:


