Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let recentList = document.querySelector('#recent');
- let li = document.createElement('li');
- li.textContent = `<a href='${host.apiHost + searchItem[1]}' class='text-lg'>${searchItem[0]}</a>`;
- recentList.append(li);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement