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.
Coming Soon
- 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
- Automatic home redirection
- 10-second countdown
- Stay Here option
- Go Home navigation
- Go Back navigation
- Angular wildcard route handling for invalid URLs
- Developer social links
- Portfolio links
- Angular portfolio
- Profile Card
| 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 |
angular-error-pages/
β
βββ src/
βββ app/
βββ pages/
β βββ home/
β βββ not-found/
β
βββ app.ts
βββ app.html
βββ app.css
βββ app.config.ts
βββ app.routes.ts
git clone https://github.com/charanepuri/angular-404-error-page.gitcd angular-error-pagesnpm installng servehttp://localhost:4200/
After starting the development server, visit any invalid route.
http://localhost:4200/test
http://localhost:4200/page-does-not-exist
Angular's wildcard route will match the invalid URL and display the custom 404 Not Found page.
User
β
βΌ
Invalid URL
β
βΌ
Angular Router
β
βΌ
Wildcard Route (**)
β
βΌ
404 Not Found Page
β
βββ Stay Here
β
βββ Go Back
β
βββ Go Home
β
βββ Automatic Redirect
β
βΌ
Home Page
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.
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.
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.
Create an optimized production build using:
ng buildThe production files will be generated inside the:
dist/
directory.
https://www.linkedin.com/in/charan-teja-972aa9231
GitHub
https://github.com/charanepuri
https://www.instagram.com/_just_call_me_charan_tej
Snapchat
https://www.snapchat.com/add/justcalltej2003
https://angular-portfolio-sigma-eight.vercel.app/
https://profile-card-angular.vercel.app/
| 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 |
This project is created as a personal developer project for learning, experimentation, and portfolio purposes.