| Mobile Preview (375x812) | Desktop Preview (1440x960) |
|---|---|
![]() |
![]() |
![]() |
![]() |
A fun, single-page landing project featuring a themed “JS Trivia Bot” built with semantic HTML, responsive CSS, and interactive JavaScript. It demonstrates basic DOM manipulation with console.log() and toggles between light and dark modes using localStorage and the prefers-color-scheme media query.
Created as part of the lab challenges from freeCodeCamp.org JavaScript course.
This project introduces a fictional trivia bot named Echo, who shares some JavaScript-related fun facts in the console. The page includes a clean, animated interface, a theme toggle with saved user preferences, and a mobile-first responsive design.
The entire layout is semantically structured, accessibility-conscious, and includes visual polish via transitions, keyframe animations, and SVG background art.
- Animated theme toggle (light/dark mode)
- Custom shake animation on title click
- Console-based JavaScript trivia facts from the bot
- Fully responsive, mobile-first layout
- Semantic, accessible HTML5 structure
- Smooth transitions with reduced-motion support
- Color theming using CSS variables for easy customization
- How to use semantic HTML and structure clean, readable markup
- Gained more experience in Writing reusable utility CSS with custom properties
- Applied more CSS
@keyframesandtransitionfor interactive UI elements - Implementation of responsive typography with
clamp() - Respecting
prefers-reduced-motionfor accessibility - Writing concise, beginner-friendly JavaScript DOM scripts with
console.log()
- HTML5
- CSS3
- JavaScript
- Git
- GitHub
- Netlify
- Clone the repository
- Open
index.htmlin your browser
Or you can check out the live website here
A Google Lighthouse audit was conducted on the final version of this project. You can view the full report here.
Created by Elmar Chavez
Month/Year: July 2025
Journey: 4th month of learning frontend web development.



