How to add real animal images in this👇 https://code.sololearn.com/WOYB1NJf3oMC/?ref=app | Sololearn: Learn to code for FREE!

0

How to add real animal images in this👇 https://code.sololearn.com/WOYB1NJf3oMC/?ref=app

12/16/2020 3:38:48 AM

BOT

1 Answer

New Answer

+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.