Skip to content

Explore hundreds of characters, potions, and spells from the best-selling Harry Potter series

Notifications You must be signed in to change notification settings

imemilyhuang/hogwarts-encyclopedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CSE 204A Web Dev Final Project

I created a βœ¨πŸ§™ Hogwarts Encyclopedia πŸ§™βœ¨ that allows users to explore hundreds of characters, potions, and spells introduced in the best-selling Harry Potter series by J.K. Rowling.

πŸ”— Explore the encyclopedia here

Note: I used HashRouter from React Router because GitHub pages doesn't allow you to use actual browser routers. That's why you'll see a hash symbol in the URL before the slug for each page. If you don't have the hash in the URL, the site will navigate to GitHub's 404 page.

🎨 Visual Design

The project was styled using SCSS, and I incorporated backgrounds, colors, and effects on every single page. The app is responsive so that no matter the size of the screen you're viewing the site on, the content fits on the page well. For instance, the navbar items get condensed into a hamburger menu at a certain breakpoint.

πŸ‘©β€πŸ’» Interactivity

You can navigate to any of these pages using the slugs below:

  • Landing Page: /
  • Characters: /characters
  • Potions: /potions
  • Spells: /spells
  • I also created a 404 page if the user tries to use a slug that doesn't exist.

Within the characters, potions, and spells subpages, there are search and filtering options, and you can also click on each card to flip it and view more details.

πŸ“„ API Usage

I used two external APIs for this project:

About

Explore hundreds of characters, potions, and spells from the best-selling Harry Potter series

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published