Challenge Render Images From Data Sources - ashish9342/FreeCodeCamp GitHub Wiki

Challenge Render Images from Data Sources

Obtaining image links from JSON objects has been explained already. However, how do you present that image as an actual image requires a bit of ingenuity, yet it is simple even if you don't figure it out yourself. You have to generate html using the variable to complete the link like this:

html += "<img src = '" + val.imageLink + "'>";
⚠️ **GitHub.com Fallback** ⚠️