4.What does flex-grow: 1; do?
Anonymous Quiz
0%
a) Shrinks the item
100%
b) Makes it grow to fill available space
0%
c) Changes its height
0%
d) Removes margins
5.Which unit scales with the width of the screen?
Anonymous Quiz
50%
a) px
0%
b) em
33%
c) rem
17%
d) vw
6.What is the default display of a <div>?
Anonymous Quiz
14%
a) inline
86%
b) block
0%
c) inline-block
0%
d) flex
7.What does object-fit: cover; do to an image?
Anonymous Quiz
14%
a) Stretches the image
57%
b) Crops and scales the image to fill the box
29%
c) Centers the image
0%
d) Makes it smaller than the box
8. Which selector will target all <p> inside a div?
Anonymous Quiz
67%
a) div p {}
0%
b) p div {}
17%
c) .div > p
17%
d) p > div {}
9.Which color format is valid in CSS?
Anonymous Quiz
0%
a) rgb(255, 0, 0)
0%
b) rgba(0, 0, 0, 1)
0%
c) #ff0000
100%
d) All of the above
10.What does opacity: 0.5; do?
Anonymous Quiz
0%
a) Hides element
100%
b) Makes it 50% transparent
0%
c) Adds border
0%
d) Sets padding
11.Which rule targets all buttons inside a form?
Anonymous Quiz
0%
a) form + button
60%
b) form > button
20%
c) form button
20%
d) form:button
12.Which of these is used in responsive design?
Anonymous Quiz
0%
a) @media
50%
b) @responsive
0%
c) @screen
50%
d) @grid
13.What does justify-content: center; do in flexbox?
Anonymous Quiz
0%
a) Aligns items to the left
0%
b) Aligns items to the top
100%
c) Aligns items horizontally center
0%
d) Aligns items vertically center
14.What does flex-direction: column; do?
Anonymous Quiz
0%
a) Arranges items in a row
100%
b) Stacks items vertically
0%
c) Hides elements
0%
d) Applies margin
15.What’s the correct way to link an external CSS file?
Anonymous Quiz
0%
a) <style src="style.css">
0%
b) <css href="style.css">
100%
c) <link rel="stylesheet" href="style.css">
0%
d) <link src="style.css">
16.What does color: red; do?
Anonymous Quiz
0%
a) Changes background color to red
100%
b) Changes text color to red
0%
c) Adds a red border
0%
d) Adds a red underline
17.How do you hide an element but still keep its space?
Anonymous Quiz
0%
a) display: none;
40%
b) visibility: hidden;
60%
c) opacity: 0;
0%
d) z-index: -1;
How are you finding the content so far?
I'd appreciate your feedback on the comment section.
I'd appreciate your feedback on the comment section.
Anonymous Poll
83%
👍
17%
👎
👋 Hey Campers!
💪 Welcome to Final HTML + CSS Challenge Time
You’ve already done an incredible job! 🌟 Now before we move on to JavaScript 🚀, let’s level up our CSS + HTML practice with 3 more powerful real-world challenges. These will push your creativity, test your knowledge, and help you build projects you’ll be proud of.
💡 Challenge 1: Online Magazine or News Portal 📰
🎯 Goal:
Create a sleek, content-rich online magazine or news website that looks like BBC, CNN, or Addis Standard.
💼 What to Include:
✅ Header with site logo + navigation menu
✅ Main headline section with a featured image and breaking news title
✅ News categories (World, Politics, Tech, Sports, Entertainment)
✅ Use Grid Layout to arrange articles attractively
✅ Sidebar for latest posts or advertisements
✅ Each article card should include:
Image
Headline
Short paragraph
“Read More” button
✅ Add hover effects, box shadows, and transitions
✅ Footer with newsletter signup and social media icons
✅ Responsive design for mobile
🎁 Bonus: Use :hover, object-fit, box-shadow, and flex on cards for a modern feel.
🎵 Challenge 2: Music Player Interface 🎧
🎯 Goal:
Design a Music Player Web Interface just like you’d see on Spotify or Apple Music. This can be simple, static — no need for JavaScript (yet!).
💼 What to Include:
✅ Now Playing section with:
Song title
Artist name
Album cover
✅ Progress bar using CSS range-like styling
✅ Control buttons: play ⏯️, pause ⏸️, next ⏭️, previous ⏮️ — use icons!
✅ Volume control bar
✅ List of songs (playlist style)
✅ Use Flexbox or Grid for layout
✅ Add hover animations to buttons
✅ Add box shadows and border-radius for modern UI
🎁 Bonus: Try positioning with position: fixed for a footer-style music player.
👥 Challenge 3: Fictitious Social Media Page 🌐
🎯 Goal:
Build a fake but stylish version of a social media site like Facebook, Instagram, or Twitter. You don’t need functionality — just design.
💼 What to Include:
✅ Top navbar with logo, search input, and nav icons
✅ Sidebar with menu links (Home, Messages, Friends, Notifications)
✅ Post feed:
Profile photo
Post image or text
Reaction icons
Comment section
✅ Use Flexbox and Grid for layout
✅ Responsive design for mobile view
✅ Use icons like ♥️, 💬, 🔄 — FontAwesome or other libraries
✅ Add hover effects and shadows for cards
🎁 Bonus: Add a “Create Post” input section and style it beautifully.
📣 One Last Push Before JS!
👉 Don’t just scroll — build! 💪
👉 Practice is the key to becoming a web developer.
👉 And hey — if you’re not participating yet, this is your perfect chance to rejoin and impress! 🤝
🎁 After these, we’ll unlock JavaScript superpowers, but CSS is your foundation — let’s make it strong.
🔗 Share your work with the team
🤝 Invite your friends
🌞✌️And stay creative, stay coding, stay warm and well!
💪 Welcome to Final HTML + CSS Challenge Time
You’ve already done an incredible job! 🌟 Now before we move on to JavaScript 🚀, let’s level up our CSS + HTML practice with 3 more powerful real-world challenges. These will push your creativity, test your knowledge, and help you build projects you’ll be proud of.
🗣️ You’ve come too far to stop now!
We noticed some of you haven’t been participating in the group 👀 — please don’t miss this golden opportunity to practice! Learning by doing is how we get better. 💯
💡 Challenge 1: Online Magazine or News Portal 📰
🎯 Goal:
Create a sleek, content-rich online magazine or news website that looks like BBC, CNN, or Addis Standard.
💼 What to Include:
✅ Header with site logo + navigation menu
✅ Main headline section with a featured image and breaking news title
✅ News categories (World, Politics, Tech, Sports, Entertainment)
✅ Use Grid Layout to arrange articles attractively
✅ Sidebar for latest posts or advertisements
✅ Each article card should include:
Image
Headline
Short paragraph
“Read More” button
✅ Add hover effects, box shadows, and transitions
✅ Footer with newsletter signup and social media icons
✅ Responsive design for mobile
🎁 Bonus: Use :hover, object-fit, box-shadow, and flex on cards for a modern feel.
🎵 Challenge 2: Music Player Interface 🎧
🎯 Goal:
Design a Music Player Web Interface just like you’d see on Spotify or Apple Music. This can be simple, static — no need for JavaScript (yet!).
💼 What to Include:
✅ Now Playing section with:
Song title
Artist name
Album cover
✅ Progress bar using CSS range-like styling
✅ Control buttons: play ⏯️, pause ⏸️, next ⏭️, previous ⏮️ — use icons!
✅ Volume control bar
✅ List of songs (playlist style)
✅ Use Flexbox or Grid for layout
✅ Add hover animations to buttons
✅ Add box shadows and border-radius for modern UI
🎁 Bonus: Try positioning with position: fixed for a footer-style music player.
👥 Challenge 3: Fictitious Social Media Page 🌐
🎯 Goal:
Build a fake but stylish version of a social media site like Facebook, Instagram, or Twitter. You don’t need functionality — just design.
💼 What to Include:
✅ Top navbar with logo, search input, and nav icons
✅ Sidebar with menu links (Home, Messages, Friends, Notifications)
✅ Post feed:
Profile photo
Post image or text
Reaction icons
Comment section
✅ Use Flexbox and Grid for layout
✅ Responsive design for mobile view
✅ Use icons like ♥️, 💬, 🔄 — FontAwesome or other libraries
✅ Add hover effects and shadows for cards
🎁 Bonus: Add a “Create Post” input section and style it beautifully.
📣 One Last Push Before JS!
👉 Don’t just scroll — build! 💪
👉 Practice is the key to becoming a web developer.
👉 And hey — if you’re not participating yet, this is your perfect chance to rejoin and impress! 🤝
🎁 After these, we’ll unlock JavaScript superpowers, but CSS is your foundation — let’s make it strong.
🔗 Share your work with the team
🤝 Invite your friends
🌞✌️And stay creative, stay coding, stay warm and well!
❤1
👋 Hello dear campers! 🧑💻✨
Before we jump into JavaScript — the powerful tool that brings interactivity and magic to our websites — let’s take a step back and understand how the web actually works. 😲
We’ve already created beautiful pages using HTML & CSS, but now…
💭 How does your website appear when someone types a link?
💭 Where is your site stored?
💭 What is a domain or a server?
Let’s learn this together — in the simplest way possible using analogies! 🧠💡
🌐 How the Web Works — A Beginner’s Guide
🏠 Imagine the Web as a Giant City
➺Each website is like a house.
➺Each house has an address (called a domain name like google.com).
➺The actual house (your website) is stored in a server — a powerful computer that’s always on and connected to the internet.
1️⃣ You = The Visitor 👤
You open your browser and type:
https://www.mycampersite.com
2️⃣ Browser = The Delivery Person 🛵
The browser is like a delivery guy.
He goes and finds the address you typed.
But first, he needs to know where the house is located.
3️⃣ DNS = The Address Book 📖
The DNS (Domain Name System) is like the city's phonebook/list.
It looks up the name "mycampersite.com" and says:
Now the delivery guy (browser) knows where to go.
4️⃣ Server = The House with Your Website 🏠
The browser travels to that IP address — the server.
🖥️ The server is just a special computer that:
Stores your HTML, CSS, JS, and images.
Sends those files back to the browser when asked
5️⃣ Browser Shows You the Page 🎨
Now your browser receives:
index.html → The structure
style.css → The design
script.js → The interaction
And then it builds and displays the page in front of you! 🚀
📬 In Short:
➝You type a website.
➝Browser asks DNS for the location.
➝Browser visits server and requests files.
➝Server sends back HTML, CSS, JS.
➝Browser builds the page and shows it to you.
🧠🌍 New Analogy: “The Web as a Restaurant”
Let’s imagine…
You're hungry 😋 and want to order food from a restaurant.
Well, that’s just like how your browser orders a website from the internet!
🍴The Characters in Our Story
🍽️ Step-by-Step: What Happens When You Visit a Website?
1️⃣ You make an order (Type a URL)
You say:
That’s like typing a URL in your browser.
2️⃣ The waiter (browser) checks the restaurant’s address
But wait... where is muyalogy.com located?
So the waiter checks the 📖 DNS system — it tells him:
He now knows where to go! 🛵
3️⃣ The waiter travels to the kitchen (server)
He follows the internet roads and reaches the server, which is like the restaurant’s kitchen.
He says:
4️⃣ The kitchen (server) prepares the food (website files)
The chef (server) prepares:
🍞 HTML (structure of the dish — plate, bowl)
🥗 CSS (decoration — colors, layout, presentation)
🌶️ JS (spicy flavor — actions, interactivity)
All neatly packed and ready!
5️⃣ Waiter brings it back & serves it (Browser displays the site)
The browser (waiter) brings the files back, and your screen shows the complete website dish — tasty, styled, and interactive! 🍱✨
🔄 Bonus: What If You Click a Button or Fill a Form?
It’s like asking:
JavaScript sends the request back to the server (kitchen), and brings the new response back without reloading the whole plate!
🔍 Wait… What About Hosting and Domains?
🧳 Hosting = Renting the kitchen (server space) to store your site.
🏷️ Domain = Buying a signboard for your restaurant (your URL name).
When you launch a website:
➝You buy a domain name.
➝You host your files on a server.
➝People use browsers to order the dish (see your site)!
Before we jump into JavaScript — the powerful tool that brings interactivity and magic to our websites — let’s take a step back and understand how the web actually works. 😲
We’ve already created beautiful pages using HTML & CSS, but now…
💭 How does your website appear when someone types a link?
💭 Where is your site stored?
💭 What is a domain or a server?
Let’s learn this together — in the simplest way possible using analogies! 🧠💡
🌐 How the Web Works — A Beginner’s Guide
🏠 Imagine the Web as a Giant City
➺Each website is like a house.
➺Each house has an address (called a domain name like google.com).
➺The actual house (your website) is stored in a server — a powerful computer that’s always on and connected to the internet.
1️⃣ You = The Visitor 👤
You open your browser and type:
https://www.mycampersite.com
2️⃣ Browser = The Delivery Person 🛵
The browser is like a delivery guy.
He goes and finds the address you typed.
But first, he needs to know where the house is located.
3️⃣ DNS = The Address Book 📖
The DNS (Domain Name System) is like the city's phonebook/list.
It looks up the name "mycampersite.com" and says:
“Oh! This is stored at 192.123.45.2 (IP address).”
Now the delivery guy (browser) knows where to go.
4️⃣ Server = The House with Your Website 🏠
The browser travels to that IP address — the server.
🖥️ The server is just a special computer that:
Stores your HTML, CSS, JS, and images.
Sends those files back to the browser when asked
5️⃣ Browser Shows You the Page 🎨
Now your browser receives:
index.html → The structure
style.css → The design
script.js → The interaction
And then it builds and displays the page in front of you! 🚀
📬 In Short:
➝You type a website.
➝Browser asks DNS for the location.
➝Browser visits server and requests files.
➝Server sends back HTML, CSS, JS.
➝Browser builds the page and shows it to you.
🧠🌍 New Analogy: “The Web as a Restaurant”
Let’s imagine…
You're hungry 😋 and want to order food from a restaurant.
Well, that’s just like how your browser orders a website from the internet!
🍴The Characters in Our Story
🍽️ Step-by-Step: What Happens When You Visit a Website?
1️⃣ You make an order (Type a URL)
You say:
“Hey, I want the Home Page Special from muyalogy.com.”
That’s like typing a URL in your browser.
2️⃣ The waiter (browser) checks the restaurant’s address
But wait... where is muyalogy.com located?
So the waiter checks the 📖 DNS system — it tells him:
"This website is at IP 192.123.4.1."
He now knows where to go! 🛵
3️⃣ The waiter travels to the kitchen (server)
He follows the internet roads and reaches the server, which is like the restaurant’s kitchen.
He says:
“I want the homepage, please!”
4️⃣ The kitchen (server) prepares the food (website files)
The chef (server) prepares:
🍞 HTML (structure of the dish — plate, bowl)
🥗 CSS (decoration — colors, layout, presentation)
🌶️ JS (spicy flavor — actions, interactivity)
All neatly packed and ready!
5️⃣ Waiter brings it back & serves it (Browser displays the site)
The browser (waiter) brings the files back, and your screen shows the complete website dish — tasty, styled, and interactive! 🍱✨
🔄 Bonus: What If You Click a Button or Fill a Form?
It’s like asking:
“Can I get a drink too?”🥤
JavaScript sends the request back to the server (kitchen), and brings the new response back without reloading the whole plate!
🔍 Wait… What About Hosting and Domains?
🧳 Hosting = Renting the kitchen (server space) to store your site.
🏷️ Domain = Buying a signboard for your restaurant (your URL name).
When you launch a website:
➝You buy a domain name.
➝You host your files on a server.
➝People use browsers to order the dish (see your site)!
💡 Why is this important before JS?
Because JavaScript is:
➤Run by your browser after it gets the files.
➤Can talk to servers, send/receive data, and control what happens on your site.
➤Helps us build dynamic sites — like filling out forms, animations, chatting, etc.
➤Understanding how browsers and servers work helps you write better, smarter code in JavaScript. 🤖
🧠 Key Terms to Remember:
Browser = Chrome, Firefox, Edge…
DNS = Finds the address of your website
Server = Stores your website files
HTTP/HTTPS = Rules for sending/receiving website data
URL = The link you type (https://...)
Frontend = What users see (HTML/CSS/JS)
Backend = What happens on the server side (we'll learn later!)
🥳 You're ready now!
You now understand the road your website travels from a server to a user.
Next up? JavaScript — to make your site truly alive! 🎉✨
But for now…
📢 Share this with your campmates,
📨 Invite more learners,
🌞 And a warm stay well until the next session!
Because JavaScript is:
➤Run by your browser after it gets the files.
➤Can talk to servers, send/receive data, and control what happens on your site.
➤Helps us build dynamic sites — like filling out forms, animations, chatting, etc.
➤Understanding how browsers and servers work helps you write better, smarter code in JavaScript. 🤖
🧠 Key Terms to Remember:
Browser = Chrome, Firefox, Edge…
DNS = Finds the address of your website
Server = Stores your website files
HTTP/HTTPS = Rules for sending/receiving website data
URL = The link you type (https://...)
Frontend = What users see (HTML/CSS/JS)
Backend = What happens on the server side (we'll learn later!)
🥳 You're ready now!
You now understand the road your website travels from a server to a user.
Next up? JavaScript — to make your site truly alive! 🎉✨
But for now…
📢 Share this with your campmates,
📨 Invite more learners,
🌞 And a warm stay well until the next session!
WEEK 3 DAY 1 JAVASCRIPT LESSON
👋🏽 Hello Brilliant Campers!
Welcome back to our Week 3 — where things get interactive, alive, and fun! 🎉
You’ve all done wonderfully with HTML & CSS, building the structure and beauty of a webpage.
Now, it’s time to take the next big step:
🚀 We’re learning JavaScript, the magical language that makes web pages talk, move, react, and come to life!
We’ll go slowly and deeply, with clear real-life analogies, examples, and code that you can test yourself. Let’s dive in together!
🧠 JavaScript: The Brain Behind the Web
Today, we’ll begin exploring how
to talk to that brain.
📘 JavaScript Lesson 1: A Gentle Introduction
👉 Topic: What is JavaScript, why we need it, and how it works .
🥇 1. What is JavaScript?
JavaScript (JS) is a programming language that lets you add behavior to your website.
✅ HTML is the skeleton (structure)
✅ CSS is the skin and clothes (style)
✅ JavaScript is the muscles and brain (action)
🧠 Analogy:
Imagine a robot doll:
➝HTML is the body made from plastic
➝CSS is the outfit and makeup
➝JavaScript is the chip inside that lets it walk, talk, blink, and dance!
Without JavaScript, websites are static (no reactions). With it, websites become dynamic and interactive.
🎯 2. What Can JavaScript Do?
JavaScript can:
🖱️ React to clicks, typing, mouse movement
📅 Show and hide elements
🔢 Calculate things (e.g. total price)
📦 Store and update data (like shopping carts)
🔄 Update the webpage without refreshing
💬 Interact with users
🌍 Fetch data from servers (like weather, news, etc.)
📚 Real Example:
➺When you click a "Like ❤️" on Facebook — that’s JavaScript.
➺When a form checks if your email is valid — that’s JavaScript.
➺When your phone calculator does math — yep, JavaScript (in web apps)!
🛠️ 3. Where Does JavaScript Run?
JavaScript runs in the browser — Chrome, Firefox, Edge, Safari, etc.
That means you don’t need to install anything — it’s already in your browser!
💡 Imagine your browser is a kitchen, and JavaScript is the chef that does all the cooking.
🧑💻 4. Where Do We Write JavaScript?
There are 2 main places:
➺➺Inside the HTML file using the <script> tag
➺➺In a separate .js file and then linked in HTML. we link it inside body as
Example: Writing directly in HTML
When you click the button, JS shows an alert box. That’s interactivity!
🕹️ 5. How JavaScript Works — Analogy Time!
Let’s take the restaurant analogy again but make it JavaScript-specific.
👩🍳 You = Website visitor
📜 HTML = Menu
🎨 CSS = Food plating style
🧠 JavaScript = The cook who prepares the food only when you order
You click a "Make Order" button ➝ JS says "OK!" ➝ It cooks it ➝ It shows "Order received!" on the screen.
JavaScript is like a smart brain or assistant that listens to your actions and responds.
Final Analogy: Smart House
Imagine your webpage is a smart house:
HTML builds the walls, rooms, and furniture
CSS paints the rooms and adds decorations
JavaScript is the smart system that says:
"If someone enters, turn on the lights."
"If they press a button, play music."
"If it’s 8PM, lock the doors."
That's what JavaScript does — it brings your webpage to life.
👋🏽 Hello Brilliant Campers!
Welcome back to our Week 3 — where things get interactive, alive, and fun! 🎉
You’ve all done wonderfully with HTML & CSS, building the structure and beauty of a webpage.
Now, it’s time to take the next big step:
🚀 We’re learning JavaScript, the magical language that makes web pages talk, move, react, and come to life!
We’ll go slowly and deeply, with clear real-life analogies, examples, and code that you can test yourself. Let’s dive in together!
🧠 JavaScript: The Brain Behind the Web
Today, we’ll begin exploring how
to talk to that brain.
📘 JavaScript Lesson 1: A Gentle Introduction
👉 Topic: What is JavaScript, why we need it, and how it works .
🥇 1. What is JavaScript?
JavaScript (JS) is a programming language that lets you add behavior to your website.
✅ HTML is the skeleton (structure)
✅ CSS is the skin and clothes (style)
✅ JavaScript is the muscles and brain (action)
🧠 Analogy:
Imagine a robot doll:
➝HTML is the body made from plastic
➝CSS is the outfit and makeup
➝JavaScript is the chip inside that lets it walk, talk, blink, and dance!
Without JavaScript, websites are static (no reactions). With it, websites become dynamic and interactive.
🎯 2. What Can JavaScript Do?
JavaScript can:
🖱️ React to clicks, typing, mouse movement
📅 Show and hide elements
🔢 Calculate things (e.g. total price)
📦 Store and update data (like shopping carts)
🔄 Update the webpage without refreshing
💬 Interact with users
🌍 Fetch data from servers (like weather, news, etc.)
📚 Real Example:
➺When you click a "Like ❤️" on Facebook — that’s JavaScript.
➺When a form checks if your email is valid — that’s JavaScript.
➺When your phone calculator does math — yep, JavaScript (in web apps)!
🛠️ 3. Where Does JavaScript Run?
JavaScript runs in the browser — Chrome, Firefox, Edge, Safari, etc.
That means you don’t need to install anything — it’s already in your browser!
💡 Imagine your browser is a kitchen, and JavaScript is the chef that does all the cooking.
🧑💻 4. Where Do We Write JavaScript?
There are 2 main places:
➺➺Inside the HTML file using the <script> tag
➺➺In a separate .js file and then linked in HTML. we link it inside body as
<script src="myjavascript.js" ></script>
Example: Writing directly in HTML
<!DOCTYPE html>
<html>
<head>
<title>My First JS</title>
</head>
<body>
<h1>Welcome!</h1>
<button onclick="sayHello()">Click me</button>
<script> function sayHello() { alert("Hello Camper! 🎉"); } </script>
</body>
</html>
When you click the button, JS shows an alert box. That’s interactivity!
🕹️ 5. How JavaScript Works — Analogy Time!
Let’s take the restaurant analogy again but make it JavaScript-specific.
👩🍳 You = Website visitor
📜 HTML = Menu
🎨 CSS = Food plating style
🧠 JavaScript = The cook who prepares the food only when you order
You click a "Make Order" button ➝ JS says "OK!" ➝ It cooks it ➝ It shows "Order received!" on the screen.
JavaScript is like a smart brain or assistant that listens to your actions and responds.
Final Analogy: Smart House
Imagine your webpage is a smart house:
HTML builds the walls, rooms, and furniture
CSS paints the rooms and adds decorations
JavaScript is the smart system that says:
"If someone enters, turn on the lights."
"If they press a button, play music."
"If it’s 8PM, lock the doors."
That's what JavaScript does — it brings your webpage to life.