Tribute Page - Build a Tribute Page

How can my image display on my preview just like the sample given to us to follow suit
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <link rel="stylesheet" href="style.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <main id="main">
      <head id="title">Mr Felix Francis</head>
      <div id="img-div"> 
        <img id="image" src="https://the234project.com/people/nigeria/mary-slessor/tribute-page-main-image.jpg" alt="Mr Felix Francis standing amongst peers">
        <div id="img-caption">Mr Felix Francis was my English Language teacher in my Secondary School</div>
        </div>
        <figure id="tribute-info">
          <a id="tribute-link" target="_blank">
          <h1 id="Headline">Here's a time line of Mr Felix's life:</h1>
          <ul>
            <li>1914 - Born in Lagos, Nigeria</li>
            <li>1916 -Attended Apata Memorial School in Lagos</li>
            <li>1923 -Attended Queens College, Lagos</li>
            <li>1928 - Attended the university of Lagos,which he contributed immensely to the growth of the students and the school</li>
            <li>1932 -Finishes university and takes a job in the GREENSPRINGS SCHOOLS where he teaches linguishtics to improved the student's vocabulary</li>
            <li>1934 -Marries wife of 38 years beatrice Mary</li>
            <li>2007 -die at the age age of 93.
              <p><strong>Felix's life and achievement are testimony to the far-reaching contribution that one man's towering intellect and persistence can lead to human peace and progress.</strong></p>
              </li>
            </ul>
            <p>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>
              </main>
              </html>

            
            
        
      
/* file: styles.css */

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

the img src link you are using is not valid.
To check it, copy it to your browser’s url field and see if it works. (when I tried it I got a 404 error)
https://the234project.com/people/nigeria/mary-slessor/tribute-page-main-image.jpg

the same thing happen to me too
but i want to use something different from the sample

which image did you want to use? You need a valid URL.

please i want to know if there is any corrections or erro on my coding

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <link rel="stylesheet" href="style.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <main id="main">
      <main id="title">Dr. Norman Borlaug</head>
      <div id="img-div">
        <div id="img-caption">The man who saved a billion lives</div> 
        <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" alt="Dr. Norman Borlaug standing amongst peers">
        </div>
        <figure id="tribute-info">
          <h1 id="Headline">Here's a time line of Dr. Borlaug's life:</h1>
          <ul>
            <li>1914 - Born in Cresco, Iowa</li>
            <li>1933 - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"</li>
            <li>1935 - Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me."</li>
            <li>1937 - Finishes university and takes a job in the US Forestry Service</li>
            <li>1938 - Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants.</li>
            <li>1941 - Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science.</li>
            <li>1942 - Receives a Ph.D. in Genetics and Plant Pathology</li>
            <li>1944 - Rejects a 100% salary increase from Dupont, leaves behind his pregnant wife, and flies to Mexico to head a new plant pathology program. Over the next 16 years, his team breeds 6,000 different strains of disease resistent wheat - including different varieties for each major climate on Earth.</li>
            <li>1945 - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
            <li>1953 - crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertilizer. It goes on to provide 95% of Mexico's wheat.</li>
            <li>1962 - Visits Delhi and brings his high-yielding strains of wheat to the Indian subcontinent in time to help mitigate mass starvation due to a rapidly expanding population</li>
          <li>1970 - receives the Nobel Peace Prize</li>
          <li>1983 - helps seven African countries dramatically increase their maize and sorghum yields</li>
          <li>1984 - becomes a distinguished professor at Texas A&M University</li>
          <li>2005 - states "we will have to double the world food supply by 2050." Argues that genetically modified crops are the only way we can meet the demand, as we run out of arable land. Says that GM crops are not inherently dangerous because "we've been genetically modifying plants and animals for a long time. Long before we called it science, people were selecting the best breed."</li>
          <li>2009 - dies at the age of 95.</li>
          <p><strong>"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress."</strong></p>
        </li>
        </ul>
            <p>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>
              img {
                text-align: centered;
                height: auto;
                max-width: 100%;
                display: block;
              }
              </main>
              </html>


            
            
        
      
/* file: styles.css */

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

This part of your code is css and it should be found in the styles.css file:
image

More specifically, this part:

img {
           text-align: centered; .... this value should be "center" not "centered"
           height: auto;
           max-width: 100%;
           display: block;
              }

But where can i found the style.css file
i cant find it in my laptop here

mine is showing instruction, code, console and preview only

This is from your posted code here:
image

As you can see it is here, but it is empty.

help me check for erro
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <link rel="stylesheet" href="style.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <main id="main">
      <main id="title">Dr. Norman Borlaug</head>
      <div id="img-div">
        <div id="img-caption">The man who saved a billion lives</div> 
        <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" alt="Dr. Norman Borlaug standing amongst peers">
        </div>
        <figure id="tribute-info">
          <h1 id="Headline">Here's a time line of Dr. Borlaug's life:</h1>
          <ul>
            <li>1914 - Born in Cresco, Iowa</li>
            <li>1933 - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"</li>
            <li>1935 - Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me."</li>
            <li>1937 - Finishes university and takes a job in the US Forestry Service</li>
            <li>1938 - Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants.</li>
            <li>1941 - Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science.</li>
            <li>1942 - Receives a Ph.D. in Genetics and Plant Pathology</li>
            <li>1944 - Rejects a 100% salary increase from Dupont, leaves behind his pregnant wife, and flies to Mexico to head a new plant pathology program. Over the next 16 years, his team breeds 6,000 different strains of disease resistent wheat - including different varieties for each major climate on Earth.</li>
            <li>1945 - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
            <li>1953 - crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertilizer. It goes on to provide 95% of Mexico's wheat.</li>
            <li>1962 - Visits Delhi and brings his high-yielding strains of wheat to the Indian subcontinent in time to help mitigate mass starvation due to a rapidly expanding population</li>
          <li>1970 - receives the Nobel Peace Prize</li>
          <li>1983 - helps seven African countries dramatically increase their maize and sorghum yields</li>
          <li>1984 - becomes a distinguished professor at Texas A&M University</li>
          <li>2005 - states "we will have to double the world food supply by 2050." Argues that genetically modified crops are the only way we can meet the demand, as we run out of arable land. Says that GM crops are not inherently dangerous because "we've been genetically modifying plants and animals for a long time. Long before we called it science, people were selecting the best breed."</li>
          <li>2009 - dies at the age of 95.</li>
          <p><strong>"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress."</strong></p>
        </li>
        </ul>
            <p>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>
              </main>
              </html>


            
            
        
      
/* file: styles.css */
img {
   text-align: center;
   height: auto;
   max-width: 100%;
   display: block;
              }


            
            
        
      

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

You have too many basic errors in your code:

  • the closing html tag goes at the end of the code
  • there is no body element in the code
  • img selector has in CSS file the text-align property!?
  • If you have time, you should read more about this incredible human being on his. - this element is not closed, etc.

still checking for corrections
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <link rel="stylesheet" href="style.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
    <main id="main">
      <main id="title">Dr. Norman Borlaug</head>
      </body>
      <div id="img-div">
        <div id="img-caption">The man who saved a billion lives</div> 
        <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" alt="Dr. Norman Borlaug standing amongst peers">
        </div>
        <figure id="tribute-info">
          <h1 id="Headline">Here's a time line of Dr. Borlaug's life:</h1>
          <ul>
            <li>1914 - Born in Cresco, Iowa</li>
            <li>1933 - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"</li>
            <li>1935 - Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me."</li>
            <li>1937 - Finishes university and takes a job in the US Forestry Service</li>
            <li>1938 - Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants.</li>
            <li>1941 - Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science.</li>
            <li>1942 - Receives a Ph.D. in Genetics and Plant Pathology</li>
            <li>1944 - Rejects a 100% salary increase from Dupont, leaves behind his pregnant wife, and flies to Mexico to head a new plant pathology program. Over the next 16 years, his team breeds 6,000 different strains of disease resistent wheat - including different varieties for each major climate on Earth.</li>
            <li>1945 - Discovers a way to grown wheat twice each season, doubling wheat yields</li>
            <li>1953 - crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertilizer. It goes on to provide 95% of Mexico's wheat.</li>
            <li>1962 - Visits Delhi and brings his high-yielding strains of wheat to the Indian subcontinent in time to help mitigate mass starvation due to a rapidly expanding population</li>
          <li>1970 - receives the Nobel Peace Prize</li>
          <li>1983 - helps seven African countries dramatically increase their maize and sorghum yields</li>
          <li>1984 - becomes a distinguished professor at Texas A&M University</li>
          <li>2005 - states "we will have to double the world food supply by 2050." Argues that genetically modified crops are the only way we can meet the demand, as we run out of arable land. Says that GM crops are not inherently dangerous because "we've been genetically modifying plants and animals for a long time. Long before we called it science, people were selecting the best breed."</li>
          <li>2009 - dies at the age of 95.</li>
          <p><strong>"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress."</strong></p>
        </li>
        </ul>
            <p>If you have time, you should read more about this incredible human being on his.</p>
              <a id="tribute-link" href="https://en.wikipedia.org/wiki/Norman_Borlaug" target="_blank"> Wikipedia entry</a>
              </head>
              </body>
              </main>
              </html>


            
            
        
      
/* file: styles.css */
img {
  display: block;
  max-width: 100%;
  height: auto;
  text-align: center;
}


            
            
        
      

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

Please stop posting duplicate topics for the same challenge.
You have done so multiple times now and this is not acceptable in this forum.
I have merged all your duplicates.

If you have further questions about this challenge or want to share any new code, do so without creating a new topic (just add a reply here).

Thanks