Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
Hey,
Just add the img tag in the array as:
var animal= ['<img src="https://cdn-prod.medicalnewstoday.com/content/images/articles/322/322868/golden-retriever-puppy.jpg"/> <br> Dog']
And add CSS for that image.
Look at this code:https://code.sololearn.com/W9a2255A7A21
Hope you understand.