Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Interactive 404 "Lost in Space" Page

A creative and interactive 404 'Page Not Found' page built with HTML, CSS, and vanilla JavaScript. This project transforms a standard error page into an engaging user experience with a "Lost in Space" theme, complete with multiple animations and interactive features.

🌐 Live Demo

You can view the live project here: Live Link

✨ Features

  • Animated Space Theme: A dark, space-themed background with a moving starfield created with CSS.
  • Floating Astronaut: A CSS-animated astronaut that gently floats in the center of the screen.
  • Mouse-Following Comet: An interactive glowing orb that follows the user's cursor, enhancing the space-travel feel.
  • Random Funny Messages: Displays a different witty, space-themed error message on each page load using JavaScript.
  • Countdown Redirect: Automatically redirects the user to the homepage after a 10-second countdown to guide them back.
  • Dark/Light Mode Toggle: Allows users to switch between the default dark theme and a clean light theme. The user's preference is saved in localStorage.
  • Responsive Design: The layout is fully responsive and looks great on all devices, from desktops to mobile phones.

🛠️ Technologies Used

  • HTML5
  • CSS3 (including Keyframe Animations, Flexbox, and Media Queries)
  • Vanilla JavaScript (DOM Manipulation, Event Listeners, localStorage)

🚀 Getting Started

To run this project locally, follow these simple steps:

  1. Clone the repository:
    git clone https://github.com/charanepuri/interactive-404-page.git
  2. Navigate to the project directory:
    cd interactive-404-page
  3. Open the index.html file in your favorite web browser.

That's it! You should now see the 404 page in action.

👨‍💻 Author

Charan Teja Epuri

About

A creative and interactive 404 'Page Not Found' page built with HTML, CSS, and vanilla JavaScript. Features a 'Lost in Space' theme with a floating astronaut, animated starfield, mouse-following comet, random error messages, a countdown redirect, and a dark/light mode toggle.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages