First project question

How do I take a personal picture and add it to my project? Not sure I understand the difference between these two pieces of code. They both can pull and image in and both are in a div to what works best?

this is from the project example:

This is from the cat challenges:
<img class=

The image file has to be hosted online in order for it to be viewable online. Just do a search for “free image hosting” and pick your favorite. (Unless your favorite is Imagur. Imagur blocks CodePen.)