The code will not bring up my image, i can see the alt text and the caption. I don’t know where it went wrong.
there is not enough info to know what’s going on
please post the code you are talking about, and if it is about a challenge then also the challenge link
sorry new here, i tried to paste the particular code, but not all of it could show
<img-div id="img-div">
<img id="image" scr="https://mronline.org/wp-content/uploads/2020/01/President-Thomas-Isidore-Noel-Sankara.jpg" alt="Sankara at UN General Assembly"/>
<caption id="img-caption">
President Thomas Sankara at The U.N General Assembly
</caption>
</img-div>
img-div
is not a valid html element
the image attribute is src
not scr
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 (’).
Thank you so much…
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.