Skip to content

EmmaRask/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺ„ SpellsForDays Public API Consumer Project – December 2025

Your screenshot here showing the UI on mobile or desktop. πŸš€ Overview SpellsForDays is a web app that fetches spells from the Open5e API. Users can select a class, generate random spells, and save them to a collapsible spellbook. Focus: mobile-first design, responsive layout, and smooth interactions.

βœ… Features Must-Have (Completed) Fetch external data from Open5e API. Trigger data fetching via button click. Mobile-first responsive UI with consistent spacing. CSS variables for colors. Versioned with Git. Could-Have (Completed / Partial) Collapsible spellbook that expands/collapses. Save spells using localStorage. Responsive behavior for mobile, tablet, desktop. Simple CSS transitions for spellbook expansion.

πŸ“Œ How to Use Select a class from the dropdown. Click "Let's Make Bad Decisions!" to generate a spell. Click "Save to Spellbook" to add it. Toggle spellbook using the spellbook button. Saved spells persist between sessions thanks to localStorage. πŸ›  Technologies HTML5 / CSS3 (with variables and media queries) JavaScript (ES6) Open5e Public API

πŸ“ Project Structure /SpellsForDays β”œβ”€ index.html β”œβ”€ style.css β”œβ”€ script.js └─ README.md

✨ Future Improvements Add search/filter for spells. Integrate multiple APIs (monsters, items). More polished animations for cards and spellbook. Deploy on GitHub Pages.

πŸ‘€ Author [EmmaRask]

About

API uppgift, fetching and showing data from an open API This repo shows spells and a spellbook with saved spells frpm dnd 5 open api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors