Need help with tribute page tests

User Story #8: The img element should responsively resize, relative to the width of its parent element, without exceeding its original size. are my creating another image element to resize the image or should i resize image on the already provided image which i i did earlier on the project??

I have grouped all of your tribute page topics together in this thread.

Please do not create any more new topics if it concerns the tribute page.

Only post new questions for the tribute page in this thread.

Thanks!

ok.understood!!!

are my resizing the image on the already provided image which i did earlier on the project or ??

The test is referring to img on the page that has the id="image"

i need help on the last challenge of landing a page project

Can you share your codepen link?

It would help us to see the issue for ourselves.

A Pen by justice (codepen.io)

The error message I am seeing is this one.

  1. My tribute page should have an element with corresponding id=β€œmain”, which contains all other elements.

After looking at your code you wrote this.

  <div id="main"></div>

Do you understand what that message is saying?

It is telling you that all of your other html elements need to be inside those div tags.
When I fix that then the test passes.

Sidenote: you are missing end quotes here

    <img id="img 

Hope that helps!

are you say this is not right <div id="main"></div>??

<div id="main"></div>

The div is supposed to have content inside of it.

You need to move all of your code here

 <h1 id="title">"Dr. Norman Borlaug"</h1>
  <div id="img-div">
    <div id="image">
      <img id="img" src="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" alt="Dr. Norman Borlaug seen standing in Mexican wheat field with a group of biologists" width="460" height="345"></img>
      <h2 id="img-caption">"Dr. Norman Borlaug seen standing in Mexican wheat field with a group of biologists"</h2></div>
    <h3 id="tribute-info">Here's a time line of Dr. Borlaug's life.</h3>
   <h3>
        If you have time, you should read more about this incredible human being
        on his
        <a
          id="tribute-link"
          href="https://en.wikipedia.org/wiki/Norman_Borlaug"
          target="_blank"
          >Wikipedia entry</a
        >.
      </h3>

inside the div

  <div id="main">
    
    PLACE YOUR CODE IN HERE
    
    
  </div>

make sense?

wow i got it thanks so much!!! :smiley: :smiley:

could i submit now???

I would urge you to make a new post in #project-feedback asking for project feedback because there are still some errors in your html that need addressing.

Once you fix those errors, then it would be a stronger project to submit.

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