List with mock fetch
Simulates fetch with Promise and renders a list.
Troque o mock por fetch(“/api/…”) quando tiver backend.
HTML
CSS
JavaScript
Live preview
Console
Run the code to see its output here.Simulates fetch with Promise and renders a list.
Troque o mock por fetch(“/api/…”) quando tiver backend.
Run the code to see its output here.