<id="main">
<id="title">
<h1> Dr. Norman Borlaug</h1>
<div>
<id="img-div">
<img src="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" alt="The man who saved a billion lives">
</div>
<id="img-caption">
<h4> Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger. </h4>
<id="tribute-info">
<ul> <li><b>1914</b> Born in Cresco, Iowa
</li>
<li><b>1933</b> 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><b>1935</b> 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><b>1937</b> Finishes university and takes a job in the US Forestry Service</li>
</ul>
<id="tribute-link">
<a href="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" target="_blank"> see more </a>
<a href="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg" target="_blank"> see more </a>
this is in after "id=“tribute-link”>
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Can you tell us what the error is or do we need to guess?
OK, my first guess would be things like this:
<id="main">
What is that? Usually this would need to have an element type, like:
<div id="main">
You would need to fix all those before we go further. And those may be the problem.
As said, remember you have to specify which type of element you want. You also have to remember to close the elements.
<h1 id="title">
Some Title
</h1>
You can always review some of the challenges again.
Thank you, first time posting a code, didn’t know that!
Oh my bad hahah, not quite good yet, but still probably I’ll watch again some exercises before trying again!!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.