Skip to content

bytiagodev/day-finder-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“… Weekday Calculator // JS Utility

A focused utility tool designed to determine the exact day of the week for any given date. This project was a practical exercise in working with the native JavaScript Date Object and creating a distraction-free user interface.

Live Demo


🧠 The Journey

Dates in programming can be notoriously tricky. I built this tool to move beyond basic tutorials and actually handle user input validation and date parsing. It was a great lesson in how to turn a simple mathematical logic (the Gregorian Calendar) into a functional web tool.

✨ What I Explored

  • JS Date Object: Learning how to accurately extract the specific weekday from a user-selected string.
  • Keyboard UX: I implemented a listener for the "Enter" key so users can get results without switching from keyboard to mouse.
  • Glassmorphism UI: Experimented with backdrop-filter and transparency to create a modern "frosted glass" effect that remains readable over a high-contrast background.
  • Webkit Customization: Learned how to style the native browser calendar picker icon to fit a dark theme aesthetic.

πŸ› οΈ Tech Stack

  • HTML5 & CSS3: Semantic structure with custom keyframe animations for a smooth "Fade-in" result.
  • Vanilla JavaScript: Pure logic using the Date API and DOM manipulation.

πŸ’¬ Junior Notes

This project taught me that sometimes the most useful tools are the simplest ones. It helped me realize the importance of handling "empty states" (when a user clicks without picking a date) to prevent app crashes.


About

πŸ“… Simple tool to find the weekday of any date, practicing JavaScript and DOM manipulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors