Skip to content

πŸ§™πŸ»β€β™€οΈ Landing page for Hogwarts, fictional school from the Harry Potter series.

Notifications You must be signed in to change notification settings

aniqatc/hogwarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

63 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hogwarts Landing Page

https://hogwarts.aniqa.dev/

πŸ§™πŸ»β€β™€οΈ A landing page about the fictional institution, Hogwarts, from the Harry Potter series. Utilizes CSS grids, flexbox, animations, form validation, if-else statements based on user inputs, and for loops to enable toggling between different content.

Preview

Tech

  • HTML5
  • CSS3
  • JavaScript

Key Features

  • A fully responsive and minimalistic webpage
  • Courses section: overlayed text on an element that appears on :hover
  • Courses section: responsive grid with the help of @media declarations and grid-column and nth-child()
  • Utilized @keyframes animations that appear on :hover for all buttons and text overlays
  • Sticky navigation that appears at the bottom of the window after the hero is no longer in the viewport using IntersectionObserver
  • Functional form with logic built with if else statements
  • Form has two buttons that execute different logic and print different messages based on user input
  • Form validation to avoid incomplete or empty answers - printing a message to prompt user to complete the form again
  • Utilized scrollIntoView() to allow smooth scrolling
  • Created cards with a subtle animation to represent each Hogwarts house β€” clicking on each card will toggle content relating to the respective Hogwarts house
  • Used nested for loops

Future Features

  • Add footsteps that follow mouse cursor

About

πŸ§™πŸ»β€β™€οΈ Landing page for Hogwarts, fictional school from the Harry Potter series.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published