Update Tester.HTML

This commit is contained in:
Dangrainage 2024-04-25 08:54:36 +02:00 committed by GitHub
parent 425311ce6a
commit e4d0ffdb1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,7 @@
} else {
let resultList = document.createElement('ul');
results.forEach(result => {
console.log('Result:', result); // Log the result object
let listItem = document.createElement('li');
let link = document.createElement('a');
link.textContent = `${result.title} (${result.year})`;