Skip to content

Commit

Permalink
New commit
Browse files Browse the repository at this point in the history
  • Loading branch information
soulincsl committed Dec 6, 2023
1 parent e67827c commit 82a94af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ <h1 class="text-2xl">I'm lazy, that's why I do this...</h1>
try {
// Fetch data from an API (replace with your API endpoint)
const response = await fetch('https://soulinmaikadua.github.io/slms-projects/api/data.json')
// console.log(response)
const data = await response.json()
// console.log(data)

// Process the data and generate an unordered list
const resultList = document.getElementById('resultList')
Expand All @@ -73,7 +71,6 @@ <h1 class="text-2xl">I'm lazy, that's why I do this...</h1>

resultList.appendChild(listItem)
}
console.log('resultList')
} catch (error) {
console.error('Error fetching data:', error)
}
Expand Down

0 comments on commit 82a94af

Please sign in to comment.