Learn CSS Grid by Building a Magazine - Step 23

I have entered the specified src into the img and it renders appropriately in preview, but when I click ‘check your code’ I am told that I should have an src set to the exact code that I have written. I copy/pasted the exact text. Like I said, it renders correctly but I’m not given a pass on the code. Have I missed something, or is this a site error?

This is the instruction:
Within your .image-wrapper element, give the second img element a src of https://cdn.freecodecamp.org/testable-projects-fcc/images/calc.png , an alt of image of a calculator project , a loading attribute set to lazy , a class set to image-2 , a width attribute set to 400 , and a height attribute set to 400 .

This is my code:

<aside class="image-wrapper">
          <img
            src="https://cdn.freecodecamp.org/testable-projects-fcc/images/random-quote-machine.png"
            alt="image of the quote machine project"
            loading="lazy"
            class="image-1"
            width="600"
            height="400"
          />
          <img />
          <blockquote class="image-quote"></blockquote>
          <img 
            src="https://cdn.freecodecamp.org/testable-projects-fcc/images/calc.png"
            alt="image of a calculator project" 
            loading="lazy"
            class="image-2"
            width="400"
            height="400"
          />
        </aside>

This is the result of the code test:

Test

Sorry, your code does not pass. Try again.

Hint

Your second img element should have a src set to https://cdn.freecodecamp.org/testable-projects-fcc/images/calc.png.
Your browser information:

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

Challenge: Learn CSS Grid by Building a Magazine - Step 23

Link to the challenge:

You have three image elements in your “aside”, two at the start and one after the “blockquote”. Which one is your second?

Oh goodness. I see it now. I actually have it placed within my 3rd image element. Feeling a bit foolish right now. Thanks for pointing that out.

2 Likes

Hey, no problem. I’m doing that lesson too at the moment and sometimes things like this happens.

I wish I could delete this post now. Don’t want anyone wasting their time reading it. Good luck to you.

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