Full Stack Camp
145 subscribers
8 photos
16 files
89 links
Fullstack Camp | Learn. Build. Launch.
Welcome to the ultimate tech adventure!
Join us for a hands-on journey through HTML, CSS, JavaScript, React, Node.js, Express & MongoDB โ€” all in one place.
Download Telegram
Week 1 Day 2 : Introduction to HTML

๐ŸŒ Topic: โ€œWhat is HTML?โ€ โ€“ Explained with Local Examples

๐ŸŽฏ Goal: Understand what HTML is, why it matters, and how it works.

๐Ÿฅ welcome to Day 2 of your coding journey in Fullstack Summer Camp!

๐ŸŽ‰ You made it through Day 1! Now letโ€™s get our hands into the first real tool of a fullstack developer: HTML.
Letโ€™s break it down like weโ€™re chatting at a market or in  a library โ€” simple, real, relatable.

๐ŸŒ 1. What Is HTML?
HTML = HyperText Markup Language
HTML is like the skeleton or structure of every website. It's the language used to structure content on the web.
Itโ€™s NOT a programming language. It doesnโ€™t do calculations or logic.
It simply tells the browser how to display content like:
๐Ÿ“ฐ Headings
๐Ÿ“„ Paragraphs
๐Ÿ–ผ๏ธ Images
๐Ÿ”— Links
๐Ÿ“‹ Forms

๐Ÿ’ฌ Think of HTML as the initial design of a house โ€” walls, doors, and windows โ€” before painting or electricity



๐Ÿ˜๏ธ 2. Ethiopian Analogy โ€“ The Injera Plate
Letโ€™s say youโ€™re serving injera be wot at a restaurant.
โžพโžพThe injera (the plate) = HTML โ€” it holds everything.
โžพโžพThe wot, salad, shiro, doro = content (text, images, links).
โžพโžพThe plateโ€™s shape and arrangement = structure, defined by HTML.
Then, later, youโ€™ll add:
โžพโžพCSS = for making it look nice
โžพโžพJavaScript = to make it interactive (like delivering it hot and fresh, or adjusting spice level on request)

๐Ÿง  3. What Does โ€œHyperTextโ€ Mean?
HyperText just means


Text with links that take you somewhere else



Like a news site with headlines that click into full articles.
When you click โ€œGo to full articleโ€ โ†’ Youโ€™re using HyperText.

๐Ÿ—๏ธ 4. HTML Structure

Before we build a website, letโ€™s understand how the pieces fit together. Just like a traditional gojo (hut) has a roof, walls, and a door โ€” every webpage has its own basic structure.โ€
A basic webpage is made of:

๐Ÿงพ A declaration (like saying: โ€˜Iโ€™m writing in HTML!โ€™)
๐Ÿ“ฆ A box that wraps everything (<html>)
๐Ÿง  A hidden brain (<head>) โ€” title, settings
๐Ÿ‘€ A visible body (<body>) โ€” all your content

Letโ€™s build a traditional hut with HTML


<!DOCTYPE html>
<html>
<head>
   <title>My First Page</title>
</head>
<body>
   <h1>Welcome to My Gojo!</h1>
   <p>This is a simple webpage built with HTML.</p>
</body>
</html>


  relax ๐Ÿ˜, we will see them each by each.

๐Ÿ”ค 5. Most Common HTML Tags
Here's a list of the most common HTML tags along with what theyโ€™re used for:
<!DOCTYPE html>
Telling it that you are writing Html5
<html>
The root of every HTML document. It wraps all the code on your web page.

<html>
   <!-- Everything goes inside here -->
</html>


<head>
Contains metadata (information about the page) like the title, fonts, or linked files. This part doesn't show on the actual page.

<head>
    <title>My Page</title></head>


<title>
Sets the text shown in the browser tab.

<title>Welcome to My Website</title>


<body>
Everything inside this tag is visible on the web page. This is where your content goes โ€” headings, paragraphs, images, etc.

<body>
     <h1>Hello!</h1>
</bimages

<h1> to <h6>
Headings. <h1> is the biggest and most important, while <h6> is the smallest.

<h1>Main Title</h1>
<h2>Section Title</h2>

<p>
Used for paragraphs of text.

<p>This is a paragraph of text.</p>

<a>
Creates a hyperlink. You can link to websites,pages, or files.

<a href="https://example.com">Visit Example</a>

<img>
Displays an image. You must include the src (image URL or path) and alt (alternative text for screen readers).

<img src="cat.jpg" alt="A cute cat">


<ul>, <ol>, <li>
Create lists.
<ul>..... is an unordered (bulleted) list
<ol>...... is an ordered (numbered) list
<li>....... is a list item (used inside both)

<ul>
    <li>Injera</li>
    <li>Shiro</li>
</ul>


<br>
Adds a line break โ€” moves text to the next line without starting a new paragraph.
<p>Hello<br>World</p>


<hr>
Adds a horizontal line across the page. Good for separating content.

<hr>

<strong> and <em>
Used for emphasizing text.
<strong> = bold and important
<em> = italic and emotional emphasis
<p>This is <strong>very important</strong>.</p>
<p>Please <em>pay attention</em>.</p>
๐Ÿ‘จโ€๐Ÿซ 6. Your First Real Example
Letโ€™s make a personal profile page for someone named "Betelhem":

<!DOCTYPE html>
<html>
<head>
   <title>Betelhem's Page</title>
</head>
<body>
     <h1>แˆฐแˆ‹แˆ! แŠฅแŠ” แ‰คแ‰ฐแˆแˆ„แˆ แАแŠ</h1>
     <p>welcome to my web pagee</p> <img src="https://placekitten.com/300/200" alt="cute cat image">
<p>Visit my <a href="https://examplee.com">myGitHub</a></p>
<h3>my skills:</h3>
<ul>
   <li>video editing</li>
   <li>web developing</li>
   <li>photography</li>
</ul>

</body>
</html>


โœ… Save it as betelhem.html
โœ… Open it in your browser
๐ŸŽ‰ Boom! You made your first webpage.

๐ŸŽฏ 7. Where Do We Write HTML?
You can use:
๐Ÿ’ป VS Code on your laptop
๐Ÿ“ฑ TrebEdit, Acode, or Spck Editor on mobile
๐ŸŒ Your browser to open the file

๐Ÿ“š 8. Whatโ€™s Coming Next?
In the next lessons, youโ€™ll learn:
โœ… Forms โ†’ Collect data from users
โœ… Tables โ†’ Display information in grids
โœ… Semantic HTML โ†’ More readable structure
โœ… Multimedia โ†’ Add videos, music, maps

๐Ÿ“Œ Summary:
โœ… HTML = The skeleton of every webpage
โœ… Tags like <p>, <h1>, and <img> define what shows up
โœ… You write HTML in a text editor, and view it in a browser
โœ… Use simple, structured code to build everything from a blog to a full website

#Week1 #Day2 #Html #introductionToHtml #lesson
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fullstack day 2</title>
</head>
<body>
<h1>Hello World</h1>
<h1>Universe</h1>
<h2>Galaxy</h2>
<h3>Solar System</h3>
<h4>Earth</h4>
<h5>Africa</h5>
<h6>Ethiopia</h6>
<p>This is a normal paragraph tag, which is used for writing regular text.</p>
<a href="https://google.com">google anything</a>
<h2>Continents</h2>
<ul>
<li>Europe</li>
<li>Asia</li>
<li>Africa</li>
<li>America</li>
</ul>
<h3>Universities in Ethiopia</h3>
<ol>
<li>Addis Ababa University</li>
<li>Mekelle University</li>
<li>Hawassa University</li>
<li>AASTU University</li>
<li>Raya University</li>
</ol>
<img src="20250709_152202.png" alt="cloud ">
<p>see ya again โœŒ๏ธ</p>
</body>
</html>
๐Ÿ‘2
Week 1 ๐——๐—ฎ๐˜† ๐Ÿฎ ๐—–๐—ต๐—ฎ๐—น๐—น๐—ฒ๐—ป๐—ด๐—ฒ: ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฎ ๐—–๐—ผ๐˜ƒ๐—ฒ๐—ฟ ๐—ฃ๐—ฎ๐—ด๐—ฒ ๐Ÿ“

Letโ€™s get a little creative!
Your task is to build a simple and clean HTML cover page for a group assignment โ€” just like the ones we submit at school or university.

โœ… Your cover page should include:
โžค Your university/high school logo (use any placeholder image for now)
โžค Name of your school, university, or campus
โžค Official website (make up one if yours doesnโ€™t have)
โžค Department name
โžค Section or class
โžค Group members (list 3 or more names)
โžค Submission date

Youโ€™ll use headings, paragraph tags, and an image โ€” everything weโ€™ve learned today!

๐Ÿ“ค ๐—ช๐—ต๐—ฒ๐—ป ๐˜†๐—ผ๐˜‚โ€™๐—ฟ๐—ฒ ๐—ฑ๐—ผ๐—ป๐—ฒ, ๐—ฝ๐—น๐—ฒ๐—ฎ๐˜€๐—ฒ ๐˜€๐—ต๐—ฎ๐—ฟ๐—ฒ ๐—ฎ ๐˜€๐—ฐ๐—ฟ๐—ฒ๐—ฒ๐—ป๐˜€๐—ต๐—ผ๐˜ ๐—ผ๐—ฟ ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ด๐—ฟ๐—ผ๐˜‚๐—ฝ!
Letโ€™s celebrate each other's work and learn together ๐Ÿ™Œ

๐Ÿ‘ฅ ๐—œ๐—ป๐˜ƒ๐—ถ๐˜๐—ฒ ๐—ฎ ๐—ณ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ!
If youโ€™re enjoying the challenge, bring your friends into the camp. The more minds, the better the journey!

๐Ÿ‘‹ Stay kind, stay curious โ€” and stay coding!

#Week1 #Day2 #Html #introductionToHtml #challenge
โค2๐Ÿ‘2๐Ÿ‘1
Senior Advices and Experiances

When many people start learning to code, they often feel like they need to know everything upfront every syntax, every trick, every framework. So they hop from one tutorial to the next, thinking theyโ€™re making progress, but still feeling stuck when trying to build something real.

Hereโ€™s what truly makes the difference

1. Donโ€™t Avoid the Docs

Documentation may seem intimidating at first, but itโ€™s the most accurate and reliable source of truth. Tutorials are great for getting started, but docs are what help you go deeper and become confident.

2. Use AI Wisely  Not Lazily

AI tools can boost your learning dramatically when used right. They help you understand code, debug smarter, and learn faster. But they canโ€™t replace your thinking, reasoning, or problem-solving. Use AI to enhance your skills, not replace them.

3. Understand the โ€œWhyโ€ Before the โ€œHow

Before jumping into any project, take a moment to understand the problem and the technology behind it frontend, backend, APIs, databases, and infrastructure. When you understand why things work the way they do, the how becomes clearer.

4. Software Architecture is a Must

Whether you're working on small apps or large systems, knowing how to design clean, scalable, and maintainable architecture is key. Good code isn't just code that works. itโ€™s code that works well under pressure, in teams, and over time.

5. Start Building Early Even If It's Messy

Donโ€™t wait until you "know everything" before starting. Start small, make mistakes, break things, fix them thatโ€™s where real learning happens. You grow by doing.

6.Consistency > Overload

Itโ€™s not about spending 10 hours a day in front of a screen. Itโ€™s about showing up every day with intention. A focused hour daily beats unfocused marathons. Momentum comes from habit, not hustle.

Currently, the resources are better, the tools are smarter, and the learning curve is smoother but the core principles remain the same: stay curious, build consistently, and keep improving.

You donโ€™t have to know it all. You just have to start and keep going.

@edemy251

#experiences #seniors
โค1
Week 1 Day 3: HTML Forms ๐Ÿ“

Creating Forms to Collect Information

๐Ÿ‘‹ Selam Campers! Welcome to Day 3 of Fullstack Summer Camp! Youโ€™ve already learned how to structure a page using
    โžพheadings
    โžพparagraphs
    โžพimages
    โžพlinks. Now itโ€™s time to interact with your users โ€” and for that, we use something powerful: **Forms**!
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โ”โ”โ”โ” ๐Ÿง  What is a Form in HTML?

A **form** is how we collect data from users on a website. Itโ€™s like a digital paper form โ€” just like the ones you fill at school, clinics, or offices.

๐Ÿ“‹Real-life examples of forms:
    - Login & registration pages
    - Survey or feedback forms
    - Online order checkout forms
    - Assignment submissions
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
โ”
๐Ÿ—๏ธ <form> Tag โ€“ The Form Container

All form elements go inside a
<form> tag.

<form>
        <!-- form elements go here -->
</form>


This tells the browser, โ€œEverything inside here is part of a single form.โ€
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ”  Common Input Types (with Examples)

Text Input โ€“ For short answers like name

<label for="name">Name:</label>
<input type="text" id="name" name="name">

Email Input โ€“ For collecting emails

<label for="email">Email:</label>
<input type="email"
              id="email"
             name="email"    
           placeholder="you@example.com"
          required>

Password Input โ€“ Hides the characters

<label for="password">Password:</label>
<input type="password" id="password" name="password">

Textarea โ€“ For long messages or comments

<label for="message">Your Message:</label><br>
<textarea id="message" name="message" rows="4" cols="30"></textarea>

Radio Buttons โ€“ Pick one option only

<p>Gender:</p>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label>

Checkboxes โ€“ Choose multiple options

<p>Skills:</p>
<input type="checkbox" id="html" name="skills" value="HTML">
<label for="html">HTML</label>
<input type="checkbox" id="css" name="skills" value="CSS">
<label for="css">CSS</label>

Dropdown (Select)

<label for="department">Department:</label>
<select id="department" name="department">
     <option value="cs">Computer Science</option>
     <option value="se">Software Engineering</option>
     <option value="it">Information Technology</option>
</select>



Date Picker


<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob">

File Upload

<label for="photo">Upload your photo:</label>
<input type="file" id="photo" name="photo">

Submit Button โ€“ To send the form

<input type="submit" value="Submit">


Reset Button โ€“ To clear all fields

<input type="reset" value="Clear">


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“ฆ Useful Attributes

โ†ช๏ธ placeholder โ€“ Shows hint inside input

<input placeholder="Enter your name">


โ†ช๏ธ required โ€“ Prevents empty submission

<input required>



โ†ช๏ธ value โ€“ Sets a default value

<input value="Addis Ababa">


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“š Optional: Grouping

Use <fieldset> to group related inputs and give the group a title using <legend>.

<fieldset>
      <legend>Personal Info</legend>
      <label for="fullName">Full Name:</label>
       <input type="text" id="fullName">
</fieldset>

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŒ  Example โ€“ Group Assignment Form

<h2>Group Assignment Submission</h2>
<form>
      <label for="university">University Name:</label>
      <input type="text" id="university" name="university"><br><br>
     <label for="department">Department:</label>
      <input type="text" id="department" name="department"><br><br>
      <label for="group">Group Members:</label><br>
      <textarea id="group" name="group" rows="3" cols="40"></textarea><br><br>
      <label for="date">Submission Date:</label>
      <input type="date" id="date" name="date"><br><br>
     <input type="submit" value="Submit">
</form>


๐Ÿ’ก Try it in your editor
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
#Week1 #Day3 #Html #Forms #lesson
๐Ÿ‘2
โœ… Quick Recap:
โžก <form> wraps the form

โžกUse inputs like <input>, <textarea>, <select>

โžกUse <label> for better accessibility

โžกplaceholder, required, value make forms more useful

โžกForms donโ€™t do anything until you connect them with JavaScript or backend (coming soon!)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“ข Coming up next (Day 4):
Weโ€™ll explore HTML Tables (to organize data) and <div> elements (for layouts) โ€” super important for building real websites!
<h3>Alpha Computer School</h3>
    <h4>welcome to Alpha Computer School official website</h4>
    <p>if you are interested in registering to our coding class, please fill out the following form</p>
    <form>
       
            <label id="name">full name:</label>
            <input type="text" id="name" placeholder="eg Haregu Kebede Ayalew" required >
            <br>
            <p>Gender:</p>
            <input type="radio" id="male" name="gender" value="male">
            <label for="male">Male</label>
          <input type="radio" id="female" name="gender" value="female">
         <label for="female">Female</label>
       
        <br><br>
        
            <label id="age">Age:</label>
            <input type="number" id="age" min="10" max="90">
       
        <br><br>
        
            <label id="email">email:</label>
            <input type="email" id="email" placeholder=" example@gmail.com" required>
        
        <br><br>
                   
          <label id="phone">Phone number:</label>
          <select required>
              <option>+221</option>
              <option>+231</option>
              <option>+241</option>
              <option>+251</option>
              <option>+261</option>
              <option>+271</option>
              <option>+281</option>
              <option>+229</option>
          </select>
          <input type="number" id="phone" required>
         
          <br> <br>
          <label id="bd">Birth of date</label>
          <input type="date" id="bd">
          <br> <br>
       
            <label id="experiance">experience level</label>
            <select>
                <option>beginner</option>
                <option>intermediate </option>
                <option>advanced</option>
            </select>
       
        <br>
          <br>
       
            <label id="language">which language do you want to learn</label>
            <select>
                <option>Html</option>
                <option>Css </option>
                <option>JavaScript</option>
                <option>Python</option>
            </select>
        <br><br>
        <label id="cv">CV:</label>
        <input type="file" id="cv">
        <br> <br>
        <label id="essay">Your essay:</label><br>
       
       <textarea id="essay"  rows="10" cols="30"></textarea>
       <br> <br>
        <input type="submit">
        <br>
๐Ÿ’ชWeek 1 Day 3  Challenges: New Account

๐ŸŽฏ Your Mission: Build a โ€œCreate New Accountโ€ Form 

Now that youโ€™ve learned how forms work, itโ€™s time to put your skills to the test! 
Your task today is to create a simple but complete Account Creation Form like the ones we fill on social media or email signup pages.

๐Ÿ“Œ What to include in your form:

โžค First Name 
โžค Last Name
โžคgender
โžค Phone Number 
โžค Date of Birth 
โžคcountry
โžค Username 
โžค Email Address 
โžค Recovery Email 
โžค New Password  with hint or strength note
โžค Confirm Password
โžคprofile picture
โžค  Terms and Conditions agreement
โžค A submit button labeled as "Create Account"

โœจ Bonus Tips:
- Use placeholder to guide the user (e.g. placeholder="Enter your name"
- Use type="password" for password fields 
- Make the required fields use required 
- You can group related inputs using <fieldset> and <legend> if you want 


๐Ÿ“ธ When youโ€™re done:
๐Ÿ”น Share a screenshot or the code in our group 
๐Ÿ”น Give feedback to othersโ€™ work if you can 
๐Ÿ”น And hey โ€” invite a friend to join the Fullstack Summer Camp today!

Keep going โ€” you're learning real-world skills here. Stay focused, stay kind, and stay curious ๐Ÿš€

#Week1 #Day3 #Html #Forms #challenge
๐Ÿ‘1๐Ÿ”ฅ1
๐Ÿ“šWeek 1 Day 4: HTML Deep Dive โ€“ Tables, Divs & Media

๐Ÿ’ป Organizing Data, Structuring Layouts & Embedding Content

๐Ÿ‘‹ Selam Fullstack Campers! Today we bring together three powerful HTML techniques:
1๏ธโƒฃ Tables โ€“ to display structured data
2๏ธโƒฃ Divs โ€“ to group and organize sections
3๏ธโƒฃ Media โ€“ to embed images, audio & video

#Week1 #Day4 #Html #TablesDivs #lesson
Lets start with Tables

Tables help us organize information like:
โœ… School results
โœ… Class schedules
โœ… Market prices
โœ… Contact lists โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿช‘ 1๏ธโƒฃ What Is a Table in HTML? A table in HTML is made of rows and columns, similar to Excel or paper tables.
๐Ÿ”ค Basic Structure:


<table>
    <tr>
          <th>Item</th>
          <th>Price</th>
     </tr>
     <tr>
          <td>Injera</td>
         <td>25 birr</td>
     </tr>
</table>



โœ… Explanation:
<table> โ†’ Wraps the whole table
<tr> (Table Row) โ†’ Creates a new row
<th> (Table Header) โ†’ Bold, centered by default
<td> (Table Data) โ†’ Regular cell
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ› ๏ธ 2๏ธโƒฃ Adding Borders
Tables look invisible by default. To make it visible, add:

<table border="1">


โœ… Pro Tip: You can also style it later with CSS. For now, border="1" is simple.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“ 3๏ธโƒฃ Multiple Rows & Columns
๐Ÿ”ค Example:

<table border="1">
       <tr>
              <th>Name</th>
              <th>Age</th>
             <th>Department</th>
      </tr>
      <tr>
           <td>Betelhem</td>
           <td>22</td>
           <td>Computer Science</td>
     </tr>
     <tr>
          <td>Abebe</td>
          <td>21</td>
          <td>Accounting</td>
      </tr>
      <tr>
           <td>Meron</td>
           <td>20</td>
          <td>Law</td>
      </tr>
</table>

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ”„ 4๏ธโƒฃ Rowspan & Colspan โ€” Merging Cells
Sometimes we need to combine cells.
โžค Rowspan = Join cells vertically
โžค Colspan = Join cells horizontally
๐Ÿ”ค Example:

<table border="1">
        <tr>
              <th rowspan="2">Name</th>
             <th colspan="2">Contact</th>
       </tr>
       <tr>
              <th>Email</th> 
              <th>Phone</th>
     </tr>
      <tr>
            <td>Megersa</td>    
            <td>megersa@gmail.com</td>
           <td>0912xxxxxx</td>
        </tr>
</table>


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฏ Summary:
โœ… <table> โ†’ Creates a table
โœ… <tr> โ†’ Row
โœ… <th> โ†’ Heading cell
โœ… <td> โ†’ Normal cell
โœ… rowspan, colspan โ†’ Merge cells
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
HTML Layout with div, span, class & id

Now let's focus on how developers **organize content** using special HTML tools:
โœ… <div> โ†’ Block containers
โœ… <span> โ†’ Inline containers
โœ… class & id โ†’ For styling and controlling specific elements โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿ“ฆ 1๏ธโƒฃ What Is <div>?
<div> stands for โ€œdivision.โ€ Itโ€™s like a big invisible box that holds content inside it.
โœ… Purpose: - Group related content - Make layout blocks (header, sidebar, footer)
โžค Simple Example:


<div>
        <h1>My Profile</h1>
        <p>I love fullstack development!</p>
       <img src="myphoto.jpg" alt="My photo">
</div>


โœ… Without CSS, it
wonโ€™t show borders or color โ€” it just structures things.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿ”ค 2๏ธโƒฃ What Is <span>?
It is like <div>
, but smaller. Itโ€™s used for inline content, like a single word.

โœ… Purpose:
Highlight a word or phrase
Apply styles to part of a sentence
โžค Example:
<p>My favorite color is <span>blue</span>.</p>
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฏ 3๏ธโƒฃ class and id โ†’ Adding Labels to HTML Elements
โœ… class:
Reusable name for many elements
You can style all elements with the same class
โœ… id:
Unique name for one specific element only
Used for targeting that one thing
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“‚ 4๏ธโƒฃ Real-Life Examples

โžค Using class with div:

<div class="profile-box">
        <h2>Betelhem</h2>
        <p>Fullstack Developer</p>
</div>
<div class="profile-box">
        <h2>Abebe</h2>
       <p>UI Designer</p>
</div>


Both divs share the same class "profile-box." Later in CSS, you can give all profile-box divs the same color or size.
โžค Using id with span:

<p>Welcome, <span id="user-name">Kebedech</span>!</p>


Later with CSS or JavaScript, you can target only "Kebedech" by using its id.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ› ๏ธ 5๏ธโƒฃ Combining div, span, class, and id Together

โœ… Example Layout:

<div class="card">
        <h1 class="title">Haregu's Coffee</h1>
       <p>Open: <span class="highlight">8 AM โ€“ 10 PM</span></p>
       <p id="special-message">Todayโ€™s special: Macchiato!</p>
</div>



โžค Explanation:
card โ†’ applies to the whole block
title โ†’ applies to all titles
highlight โ†’ styles just the time
special-message โ†’ styles only todayโ€™s special
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ’ก 6๏ธโƒฃ Why Does This Matter?
โœ… Layout:
Div and span help you organize pages cleanly
โœ… Styling:
class and id let CSS and JavaScript target specific parts
โœ… Real Websites:
Every modern website uses this method!
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
HTML Media โ€“ Images, Audio, and Video

And now we learn how to add **media content** to websites:
โœ… Images (photos, logos, icons)
โœ… Audio (music, podcasts)
โœ… Video (lessons, intros) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐ŸŒ„ 1๏ธโƒฃ Adding Images with <img>
โœ… Basic Syntax:


<img src="image-url" alt="Alternative Text">
src โ†’ Path or link to the image file
alt โ†’ Text description if image doesn't load
โœ… Example:

<img src="https://placekitten.com/300/200" alt="Cute kitten image">


โœ… Notes:
Always use alt for accessibility (for blind users or if image is missing).
Supported formats: .jpg, .png, .gif, .webp
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“ 2๏ธโƒฃ Controlling Image Size
You can control width and height using attributes:

<img src="photo.jpg" alt="My photo" width="300" height="200">



โœ… Or better: use CSS for full control (coming next week).
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽง 3๏ธโƒฃ Embedding Audio

โœ… Basic Syntax:

<audio controls> <source src="audio-file.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>


โœ… Important:
Always include controls so users can play, pause, and control volume.
Supported formats: .mp3, .ogg, .wav
โœ… Example:

<audio controls> <source src="buna-music.mp3" type="audio/mpeg"> </audio>


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฅ 4๏ธโƒฃ Embedding Video

โœ… Basic Syntax:

<video
width="320"
height="240"
controls>
<source src="video-file.mp4"
type="video/mp4">
Your browser does not support the video tag. </video>


โœ… Example:

<video width="500" height="300" controls> <source src="intro-video.mp4" type="video/mp4"> </video>


โœ… Notes:
Use width and height to control size.
formats: .mp4 (most common), .webm, .ogg
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŒ 5๏ธโƒฃ Embedding External Media (YouTube, SoundCloud)
Sometimes you want to embed a YouTube video directly:

โœ… Example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿ“‚ 6๏ธโƒฃ Real-World Example:
Music Cafรฉ Website

<!DOCTYPE html>
<html>
<head>
       <title>Music Cafรฉ</title>
</head>
<body>
      <h1>Welcome to Music Cafรฉ</h1>
     <img src="coffee.jpg" alt="Cup of coffee" width="300">
    <h2>Now Playing</h2>
     <audio controls> <source src="ethiopian-jazz.mp3" type="audio/mpeg"> </audio>
      <h2>Watch Our Story</h2>
      <video width="500" controls> <source src="cafe-tour.mp4" type="video/mp4"> </video>
</body>
</html>


โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿ’ก Why Media Matters in Websites:
โœ… Makes pages more attractive
โœ… Engages visitors
โœ… Shares information in visual/audio form
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”