Project
Project
ACKNOWLEDGMENT
blessings throughout
INTRODUCTION
users to determine the day of the week for any specific date they enter.
This project uses HTML for the structure, CSS for styling, and
beginners learning web development. Users can input a day, month, and
year, and the app calculates the corresponding weekday using built-in
the future.
4
PROJECT OBJECTIVE
accurately determines the day of the week for any valid date entered by
the user.
as HTML for structure, CSS for design, and JavaScript for functionality,
calculations.
edge cases.
user reach.
6
TECHNOLOGIES USED
as input fields for date, month, and year, buttons, and result
organized.
3. JavaScript:
the page with accurate results, making the app responsive and
user-friendly.
5. Text Editor/IDE:
management.
6. Web Browser:
application is executed.
on various browsers.
tools, the Day Finder app ensures users have a smooth experience in
The Day Finder web application allows users to input a date, month,
and year, and it instantly calculates and displays the corresponding day
of the week. Below is a breakdown of how the application works and its
architecture:
1. Design Approach
The app features clear input fields for users to enter the date, month, and
11
B) Responsive Design:
all devices.
C) Client-Side Logic:
The app uses JavaScript to handle all the calculations directly in the
2. System Architecture
HTML and CSS are used to create the layout and style of the page. This
includes:
C) No Server Needed:
This app operates entirely on the client side. It doesn’t require a server or
The following steps outline how the app processes the user input and
A) Input:
1. The user enters a date, month, and year into the input fields.
B) Processing:
Sunday, 1 for Monday, etc.), the app maps this number to readable
C) Output:
14
the page.
4. Design Diagram
+-----------------+
+-------------------+
+-------------------+
| | |
| | | getDay()
method)| | |
+-----------------+
+-------------------+
+-------------------+
16
This diagram shows the flow of data: the user inputs the date, the logic
layer processes it, and the result is displayed dynamically on the page.
Conclusion
users with an instant and reliable way to determine the day of the week
for any given date. Through its efficient design and client-side
calculates the day of the week for any given date. Built using HTML,
CSS, and JavaScript, the entire application runs directly in the user's
browser, eliminating the need for a server. This architecture ensures that
IMPLEMENTATIONS
designed to help users quickly determine the day of the week for any
given date. Built using HTML, CSS, and JavaScript, this app runs
process, highlighting the key features that make the app both functional
and engaging.
● Input Fields: Users enter the date, month, and year through
by JavaScript.
interface. It ensures that the user experience is intuitive, and the focus
● Page Layout & Design: The layout is neatly centered on the page,
ensuring that the input fields and result display remain the focal
● Input Fields & Button Styling: The input fields and "Find Day"
button are designed for clarity and ease of use. Adequate padding,
that ensures a smooth, intuitive, and enjoyable interaction for the user.
20
functionality:
click and executes the necessary logic when triggered. This allows
the user for the date, month, and year, and converts them into a
● Date Calculation:
"Monday," "Tuesday").
dynamically updates the result section with the correct day, without
● CSS enhances the visual appeal and user experience, ensuring that
● JavaScript handles the logic, calculating the day of the week and
seamless user experience, where users can quickly input a date and
Key Features:
I. User Interaction:
The application allows users to input any valid date, month, and year.
This versatility makes the tool adaptable for any time period, from past
Once the user clicks the "Find Day" button, the result is displayed
23
ensures that users can access the information they need in seconds.
the app ensures that users can easily navigate and use the tool without
Conclusion
the day of the week for any given date. By integrating HTML, CSS, and
for anyone needing to know the day of the week for any date.
24
during development:
Test Scenarios:
● Valid Inputs:
● Invalid Inputs:
● Empty Inputs:
submitted the form with empty fields. In such cases, the app
fields correctly.
● Boundary Conditions:
○ Edge cases such as the earliest date (1st January) and the
ensured that the input fields, button, and result sections were
● Interactivity:
● Issues Found:
○ Empty Inputs:
● Tools Used:
28
any bugs.
found, the app delivered instant results and a fast response time,
approach ensured that the app not only functions flawlessly but also
CHALLENGES FACED
● Challenge:
the app didn’t handle such cases well, causing confusion for users.
● Solution:
● Challenge:
users entered months using the standard 1-12 format (e.g., January
= 1, February = 2).
● Solution:
from the month value. This ensured that the app accurately
32
calculated the correct day of the week, regardless of how the user
● Challenge:
Initially, the app did not provide feedback when users left one or
● Solution:
that all required fields were filled out before the calculation was
triggered. If any field was left empty, the app would display a clear
4. Cross-Browser Compatibility
● Challenge:
padding, and alignment were slightly off, affecting the app’s visual
● Solution:
● Challenge:
was a leap year or not and account for the 29th of February
accordingly.
● Solution:
whether February 29th was a valid date in leap years and ensure it
● Challenge:
confusion about where to enter data and how to view the results.
● Solution:
input fields were spaced out clearly, and the buttons and result
and ensured that users could easily understand where to input data
36
and how to view the results. As a result, the app became more
The development of the Day Finder web application was not without its
determines the day of the week for any valid date, ensuring precise and
complex scenarios like leap years and invalid dates, ensuring accuracy
bottlenecks.
CONCLUSION
determining the day of the week for any given date. Through the
improvements.
41
reliability. This project not only demonstrates how simple tools, when
Ultimately, Day Finder is more than just a tool; it's a testament to the
REFERENCES
1.ChatGPT
2.Google
3.Notepad
43
APPENDICES
Html structure
44
Styling in css
46
47