I don't understand to add a picture


Current behavior:

Desired behavior

Repl link:

code snippet

Welcome to the forums, @devowemadel01!
In HTML, a <img> tag would suit you best.
Here’s an example of a img tag:

<img src="imgs/photo.jpg">

Yes, and do note that your photo has to be in a folder called imgs (for this example) in your repl, and your image must be in that folder. It doesn’t have to be if you’re using a different file path, but for this case, you need a golder. Images can also be stored in the root directory.
Hope this helps!

1 Like