Create Beautiful Images from Code
Code Editor
Code Preview
const getData = async () => {
const res = await fetch("https://api.abassdev.com");
if (!res.ok) throw new Error("Failed to fetch data");
return res.json();
};
const getData = async () => {
const res = await fetch("https://api.abassdev.com");
if (!res.ok) throw new Error("Failed to fetch data");
return res.json();
};