Skip to content

About

A modern, responsive and interactive 404 Page Not Found experience built with Angular 21, featuring dark/light themes, animated route visualization, automatic home redirection, navigation controls, countdown timer and developer profile links.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

Repository files navigation

🚫 Angular 404 Error Page

Angular TypeScript HTML5 CSS3 Angular Router Node.js npm Git GitHub

A modern, responsive, and interactive 404 Page Not Found experience built with Angular 21.

The project provides a clean error experience for invalid routes with navigation controls, automatic home redirection, theme switching, animated route visualization, and developer profile links.


πŸš€ Live Demo

Coming Soon


✨ Features

🎨 User Interface

  • Modern Angular 21 implementation
  • Responsive 404 error page
  • Dark and light theme
  • Animated route visualization
  • Responsive mobile layout
  • Clean standalone Angular components
  • No external UI framework required

🧭 Navigation & Error Handling

  • Automatic home redirection
  • 10-second countdown
  • Stay Here option
  • Go Home navigation
  • Go Back navigation
  • Angular wildcard route handling for invalid URLs

πŸ‘¨β€πŸ’» Developer Links

  • Developer social links
  • Portfolio links
  • Angular portfolio
  • Profile Card

πŸ› οΈ Tech Stack

Technology Details
Angular 21.2.22
TypeScript TypeScript
HTML5 Application structure
CSS3 Styling and responsive design
Angular Router Route handling and 404 detection
Node.js JavaScript runtime
npm Package management

πŸ“ Project Structure

angular-error-pages/
β”‚
└── src/
    └── app/
        β”œβ”€β”€ pages/
        β”‚   β”œβ”€β”€ home/
        β”‚   └── not-found/
        β”‚
        β”œβ”€β”€ app.ts
        β”œβ”€β”€ app.html
        β”œβ”€β”€ app.css
        β”œβ”€β”€ app.config.ts
        └── app.routes.ts

βš™οΈ Installation

1. Clone the Repository

git clone https://github.com/charanepuri/angular-404-error-page.git

2. Navigate into the Project

cd angular-error-pages

3. Install Dependencies

npm install

4. Start the Development Server

ng serve

5. Open in Browser

http://localhost:4200/

πŸ§ͺ Testing the 404 Page

After starting the development server, visit any invalid route.

Example 1

http://localhost:4200/test

Example 2

http://localhost:4200/page-does-not-exist

Angular's wildcard route will match the invalid URL and display the custom 404 Not Found page.


πŸ”„ 404 Page Flow

User
  β”‚
  β–Ό
Invalid URL
  β”‚
  β–Ό
Angular Router
  β”‚
  β–Ό
Wildcard Route (**)
  β”‚
  β–Ό
404 Not Found Page
  β”‚
  β”œβ”€β”€ Stay Here
  β”‚
  β”œβ”€β”€ Go Back
  β”‚
  β”œβ”€β”€ Go Home
  β”‚
  └── Automatic Redirect
          β”‚
          β–Ό
       Home Page

⏱️ Automatic Redirect

The 404 page includes a 10-second countdown.

Invalid Route
      β”‚
      β–Ό
404 Page
      β”‚
      β–Ό
10-Second Countdown
      β”‚
      β”œβ”€β”€ Stay Here
      β”‚
      β”œβ”€β”€ Go Back
      β”‚
      └── Countdown Completes
              β”‚
              β–Ό
          Home Page

Users can choose to remain on the 404 page or navigate away using the available controls.


πŸŒ“ Theme Support

The page supports both:

  • πŸŒ™ Dark Theme
  • β˜€οΈ Light Theme

The theme switching experience is designed to keep the 404 page visually consistent across different viewing preferences.


πŸ“± Responsive Design

The interface is designed to adapt across:

  • πŸ–₯️ Desktop
  • πŸ’» Laptop
  • πŸ“± Tablet
  • πŸ“± Mobile

The layout adjusts navigation controls, content spacing, typography, and route visualization for smaller screens.


πŸ—οΈ Production Build

Create an optimized production build using:

ng build

The production files will be generated inside the:

dist/

directory.


πŸ‘¨β€πŸ’» Developer

Charan Teja

LinkedIn

https://www.linkedin.com/in/charan-teja-972aa9231

GitHub

https://github.com/charanepuri

Instagram

https://www.instagram.com/_just_call_me_charan_tej

Snapchat

https://www.snapchat.com/add/justcalltej2003


🌐 Portfolio

Angular Portfolio

https://angular-portfolio-sigma-eight.vercel.app/

Angular Profile Card

https://profile-card-angular.vercel.app/


πŸ“Œ Project Information

Item Details
Project Angular 404 Error Page
Framework Angular
Angular Version 21.2.22
Routing Angular Router
UI Custom CSS
Responsive Yes
Theme Dark / Light
404 Handling Angular Wildcard Route
External UI Framework None
Live Demo Coming Soon

πŸ“„ License

This project is created as a personal developer project for learning, experimentation, and portfolio purposes.


🚫 Angular 404 Error Page

Handle Errors Β· Guide Users Β· Keep Exploring

Built with Angular 21

About

A modern, responsive and interactive 404 Page Not Found experience built with Angular 21, featuring dark/light themes, animated route visualization, automatic home redirection, navigation controls, countdown timer and developer profile links.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages