Skip to content

Commit ceef503

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

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

task13-User-Info-Card/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Task 13 – User Info Card
2+
3+
## 🎯 Objective
4+
Collect user name, age, and favorite color using prompts and display them in a styled info card in console.
5+
6+
## 🧠 Concepts Practiced
7+
- JavaScript `prompt()`
8+
- `console.log()`
9+
- Template literals
10+
- Basic DOM manipulation
11+
- CSS card styling
12+
13+
## ✅ What I Learned
14+
- How to take multiple inputs from the user using `prompt`
15+
- How to combine variables into a structured message using template literals
16+
- How to design a simple card layout in CSS
17+
18+
## 🔁 Example Flow
19+
User enters:
20+
- Name: Suresh
21+
- Age: 22
22+
- Color: Blue
23+
24+
Console Output:
25+
`Hello Suresh! You are 22 years old and your favourite color is Blue`

0 commit comments

Comments
 (0)