1 Answer
New Answer1 Answer
New AnswerHey, 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.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message