Skip to content

Commit a4d5863

Browse files
authored
Create README.md
1 parent ceef503 commit a4d5863

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Task 14 – User Mood Based on Age
2+
3+
## 🎯 Objective
4+
Take user name and age as input, and display a personalized mood message based on their age range.
5+
6+
## 🧠 Concepts Practiced
7+
- JavaScript `prompt()`
8+
- `if-else` conditions
9+
- Template literals
10+
- DOM manipulation for displaying messages
11+
12+
## ✅ What I Learned
13+
- How to use conditional statements to generate dynamic output
14+
- How to design personalized messages based on user input
15+
- How to display messages directly in the webpage
16+
17+
## 🔁 Example Flow
18+
User enters:
19+
- Name: Ramesh
20+
- Age: 15
21+
22+
Displayed Message:
23+
`Hello Ramesh! You are a teenager full of energy!`

0 commit comments

Comments
 (0)