Could somebody check my code? I am working on Wiki viewer project and I got some problems. Once user type something in the search bar, the API supposed to bring the information but I think there is a problem related to CORS. what am I doing wrong? Thank you for you time and attention.
i need help her please...
pre.innerHTML += "<div class='row listing'><div class='col-sm-3 logo'><img class = 'img-responsive src=' " + data.logo + " '></div>" + "<div class='row text'> <div class='col-sm-12 name'><p><a href=" ' + data.url + ' " target = "_blank"> + data.display_name + "</a></p></div><div class='row status'> <div class='col-sm-12 worx'><p class='neon'>ON-AIR</p></div> </div> </div></div>"
i want to turn these html element into strings