Responsive UI, reworked project loading script and WIP automatic featured section.

This commit is contained in:
天クマ 2025-03-28 17:56:04 -03:00
commit ed347bcfca
6 changed files with 88 additions and 41 deletions

11
index.js Normal file
View file

@ -0,0 +1,11 @@
const featuredHelper = document.querySelector("#featuredHelper")
async function loadFeatured() {
const response = await fetch(`bananas.json`);
if (!response.ok) {
featuredHelper.innerHTML = `
<p>Oops! Failed to fetch featured projects...</p>
`
throw new Error("Failed to fetch featured projects JSON");
}
}