Hi guys, there are 2 errors that I cannot understand. They are user stories 4 and 5:
User Story #4: Within the img-div element, I should see an img element with a corresponding id="image" .
User Story #5: Within the img-div element, I should see an element with a corresponding id="img-caption" that contains textual content describing the image shown in img-div .
The code I have for this element is:
Can someone help me understand what is being asked? From my understanding, I have met the requirements of the question. Thank you very much!
There are at least 2 things that I want you to focused on:
According to User Story #3 from the projects, you must create <div> element with corresponding id='img-div'. Therefore, you must change <img-div> and </img-div> with appropriate element.
img element is a self-closing tags, so you must close the img element with />
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.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
There is no requirement for a closing slash. It is supported in HTML5 but optional. If you look in the specs you will see that none of the examples given uses a closing slash.