We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceef503 commit a4d5863Copy full SHA for a4d5863
1 file changed
task14-User-Mood-Based-on-Age/README.md
@@ -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