Skip to content

Commit 503af21

Browse files
committed
Updated the file as suggested
1 parent 4e694d9 commit 503af21

File tree

5 files changed

+52
-1
lines changed

5 files changed

+52
-1
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Age Calculator
2+
3+
![Age Calculator Screenshot](screenshot.png)
4+
5+
This Age Calculator is a web application that allows users to input their birth date and calculates their age in years, as well as in various novelty units, such as planetary years and fruit years.
6+
7+
## Features
8+
9+
- Calculate age in years based on the provided birth date.
10+
- Convert age into novelty units for planets in our solar system and the average lifespan of certain fruits and vegetables.
11+
- User-friendly interface with a responsive design for different screen sizes.
12+
13+
## Getting Started
14+
15+
These instructions will help you get a copy of the project up and running on your local machine.
16+
17+
### Prerequisites
18+
19+
- Web browser
20+
21+
### Installation
22+
23+
1. Clone the repository:
24+
25+
```bash
26+
git clone https://github.com/javascripts-mini-projects/age-calculator.git
27+
28+
```
29+
30+
Navigate to the project directory:
31+
32+
33+
```bash
34+
cd age-calculator
35+
```
36+
Open the index.html file in your preferred web browser.
37+
38+
## Usage
39+
40+
Open the application in your web browser.
41+
Enter your birth date in the provided input field.
42+
Click the "Calculate" button.
43+
Your age in years and novelty units will be displayed in the results section.
44+
Built With
45+
HTML, CSS, and JavaScript
46+
47+
48+
## Authors
49+
50+
@Yasir761
51+
21.4 KB
Loading
File renamed without changes.
File renamed without changes.

Novelty_Age_Calculator/index.html renamed to NoveltyCalculator/Yasir761/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="container">
1111
<h1>Age Calculator</h1>
1212
<div class="input-container">
13-
<label for="birthdate" class="label">Enter your birthdate:</label>
13+
<label for="birthdate" class="label">Enter your birth date:</label>
1414
<input type="date" id="birthdate" class="input-field">
1515
<button onclick="calculateAge()" class="button">Calculate</button>
1616
</div>

0 commit comments

Comments
 (0)