Tell us what’s happening:
The problem is that the link element (a) goes to the next section and links h3 element, although I closed the a element, div element and that section before started the new one. I noticed that this happens when I put <img element inside the a element
Your code so far
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
<section id="projects" class="projects-section"> <h2 class="project-tile"><u>These are some of my projects</u></h2> <div class="gallery"> <a href="https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-grid-by-building-a-magazine"><img src="https://cdn.freecodecamp.org/testable-projects-fcc/images/random-quote-machine.png" </a> </div> </section> <section id="contact" class="contact-section"> <h3>Let's work together...</h3>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/184.108.40.206 Safari/537.36
Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage
Link to the challenge: