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
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
━━━━━━━━━━━━━━━━━━━━━━━
💪Week 1 Day 4 Challenges: Choose Your Challenge! 

🎯 Today’s Focus: Tables, Divs & Media Combined 

You can choose ONE of the two challenges below. Both will help you practice working with tables, divs, images, audio, and video in real-world scenarios.

━━━━━━━━━━━━━━━━━━━━━━━ 
🔥 Challenge Option 1: Event Schedule Webpage 

➤ Build a full event schedule page for a concert, conference, festival, or sports event. 

📌 What to include: 
- A <div class="header"> with: 
  ➤ Event name 
  ➤ Event logo or banner image (<img>) 
  ➤ Welcome paragraph 

- A <table> showing the schedule: 
  Columns: 
  ➤ Time 
  ➤ Activity/Program Name 
  ➤ Speaker/Performer Name 

- A <div> for Media Section: 
  ➤ <audio> for the event’s anthem, intro speech, or background music 
  ➤ <video> (upload or YouTube embed) for event highlight trailer 

- A <footer> with contact info or social media links 

Example Sections: 
- <div class="schedule"> 
- <div class="media-gallery"> 
- <div class="footer"> 

━━━━━━━━━━━━━━━━━━━━━━━ 
🔥 Challenge Option 2: Historical Timeline Webpage 

➤ Design a web page showing a historical timeline (any topic: Ethiopia’s history, technology history, personal life milestones, etc.). 

📌 What to include: 
- A <div class="header"> with: 
  ➤ Topic title 
  ➤ Topic logo/image (<img>) 
  ➤ Brief description 

- A <table> showing the timeline: 
  Columns: 
  ➤ Year 
  ➤ Event Title 
  ➤ Description 

- Media Content: 
  ➤ <img> for key moments (photos, drawings, flags, etc.) 
  ➤ <video> or <audio> related to that history (a speech, a documentary clip, or a YouTube iframe embed) 

- Optional Footer: Closing notes or links to learn more 

━━━━━━━━━━━━━━━━━━━━━━━ 
What To Do After: 
- Choose ONE challenge and complete it using only HTML. 
- Save as: 
  ➤ event-schedule.html OR historical-timeline.html 
- Share your file or screenshots in our Telegram group. 
- Don’t forget to invite your coding friends! 

✌️ Stay well, practice consistently, and keep building!

#Week1 #Day4 #Html #TablesDivs #challenge
😨1
📚 Week 1 Day 5: Final HTML Lesson
Semantic HTML, Meta Tags, Accessibility, Best Practices
━━━━━━━━━━━━━━━━━━
🌟 Why This Lesson?
By now, you know how to structure pages with:
➤ Headings
➤ Paragraphs
➤ Forms, Tables, Divs, Media Now, let’s focus on writing cleaner, more organized, and more professional HTML code using:
- Semantic HTML
- Meta tags
- Accessibility (A11y) basics
- Best practices
━━━━━━━━━━━━━━━━━━━━
1️⃣ What Is Semantic HTML?
Semantic = Meaningful.
Semantic HTML uses tags that describe their purpose. Instead of just using <div> everywhere, we now use:
- <header> → Top of the page: logo, menu
- <nav> → Navigation links
- <main> → Main content
- <section> → A specific group of content
- <article> → Independent content like blog posts
- <aside> → Sidebar content
- <footer> → Bottom section: contact, copyright
🎯 Why Use It?
- Improves SEO (Google loves it!)
- Improves accessibility for screen readers
- Makes your code easier to read
━━━━━━━━━━━━━━━━━━━
2️⃣ Real-World Example Layout

<html>
<head>
       <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <title>Betelhem's Blog</title>
</head>
<body>
        <header>
                <h1>Betelhem’s Blog</h1>
                <nav>
                     <a href="#">Home</a>
                     <a href="#">About</a>
                     <a href="#">Contact</a>
                 </nav>
        </header>
       <main>
               <article>
                      <h2>My First Blog Post</h2>
                     <p>Today, I learned Semantic HTML!</p>
              </article>
              <aside>
                   <h3>Quick Links</h3>
                   <ul>
                         <li><a href="#">HTML Tips</a></li>
                         <li><a href="#">CSS Basics</a></li> 
                  </ul>
           </aside>
      </main>
      <footer>
               <p>&copy; 2025 Betelhem. All rights reserved.</p>
      </footer>
</body>
</html>

━━━━━━━━━━━━━━━━━━━
3️⃣ What Are Meta Tags?
Meta tags go inside the <head> to give the browser information about your page.
Essential meta tags:
- <meta charset="UTF-8"> → Supports Amharic, Tigrinya, all languages
- <meta name="viewport" content="width=device-width, initial-scale=1.0"> → Makes page responsive
- <meta name="description" content="Learn web development step by step.">
━━━━━━━━━━━━━━━━━━━
4️⃣ Accessibility Basics (A11y)
➤ alt attribute on images: <img src="injera.jpg" alt="Traditional Ethiopian Injera Plate">
➤ Use <label> for form inputs: <label for="email">Email:</label> <input type="email" id="email">
➤ Don’t rely only on color for important information
━━━━━━━━━━━━━━━━━━━
5️⃣ HTML Entities Special symbols written as codes:
- &lt; = <
- &gt; = >
- &copy; = ©
- &amp; = &
━━━━━━━━━━━━━━━━━━
6️⃣ HTML Comments
Write notes for yourself or other developers:
<!-- This is a comment. It doesn’t show on the page. -->
━━━━━━━━━━━━━━━━━━
7️⃣ Best Practices Review
➺Use semantic tags instead of too many <div>s
➺Indent your code properly
➺ Always write alt text for images
➺ Keep your file names clear: ➤ about.html, contact.html 
━━━━━━━━━━━━━━━━━━

#Week1 #Day5 #Html #SemanticHtml #lesson
More challenges comingg before proceeding to Css. are you ready??
Steps to Follow When Coding with HTML

1️⃣ List the Common Sections First
Before opening your editor, think about what most pages usually have:

Header: Title, logo, menu

Navigation (Nav): Links to different parts

Main Content: Text, images, tables, forms

Footer: © 2025, contact info, terms and conditions


👉 Writing this down helps you organize your thoughts.


---

2️⃣ Make a Simple Structure Sketch

Take a paper or digital note

Draw rough boxes showing where things will go:
➤ Top = Header
➤ Middle = Main Content
➤ Bottom = Footer


💡 This helps you see the layout before coding.


---

3️⃣ Sort and Prepare Your Content
Decide what text, images, tables, forms, or links you'll include:

Which headings?

Which paragraphs?

Will there be a form or table?

Where will images go?


📌 This keeps things clear instead of just guessing while coding.


---

4️⃣ Start Writing Your HTML Code

Open VS Code, TrebEdit, or any text editor

Build your page using correct HTML structure:
➤ Write semantic tags like <header>, <main>, <footer>
➤ Add content step by step



---

5️⃣ Check and Debug

Open your .html file in a browser

Make sure everything shows up correctly

Fix missing tags, typos, or broken links/images


Bonus Tip:

Keep saving your file as you work to avoid losing progress
#Html #experiences
🔥🔥 Project 1
📢 Final HTML Practice Challenges Before Wrapping Up!

🎯 Your Task:  Build the following challenges using all the HTML tags and methods we’ve learned so far.
You can even add extra things using any tag or method we might not have mentioned directly — creativity is welcome!

Challenge 1: Restaurant Web Page 🍽️
What to Include:

➡️Restaurant name and logo (header)
➡️Menu table with:
➤ Food item, price, ingredients, availability
➡️Images of dishes (use alt text)
➡️Restaurant branches:
location, opening hours, contact numbers
➡️Upcoming events or offers:
special nights, discounts
➡️Contact form for booking or feedback
➡️Footer: Address, social links, copyright

💡 Don’t forget: Use lists for menus too (ul or ol), add navigation links, semantic tags like <section>, <nav>, <footer>!

Challenge 2: Book Store Catalog 📚

What to Include:

➲Store name and logo
➲Divide content into clear sections using headings:
      ➤ Fiction
      ➤ Science
      ➤ Biographies
      ➤ Newspaper & Magazines
➲For each section:
       ➤ Book cover image
       ➤ Title, author, price (in table)
       ➤ Short description
Opening and closing times table
Contact form or order request form

💡 Bonus: Include a small “about us” section and use <div> and <span> where helpful!

Challenge 3: Scholarship Application Page 🎓

What to Include:

➥University or organization name and logo
➥Section describing the university/organization (mission, vision, departments)
➥List of available scholarships:
       ➤ Types, benefits, duration
Requirements list:
        ➤ GPA, documents, deadlines
Application form:
       ➤ Name, birth date, education background
       ➤ Attach documents field (file input)
       ➤ Checkbox for agreement to terms
       ➤ Submit button

💡 Bonus: Add tables to show scholarship comparison or eligibility.

Important Notes for All Challenges:
➤ Use:
     ➛<header>, <footer>, <nav>, <main>, <section>
     ➛<table>, <ul>, <ol>, <form>, <input>, <textarea>, <button>
     ➛Images <img>, videos <video>, audio <audio>
    ➛  if useful <div>, <span>, class and id attributes

➤ Use any other tags or elements we learned: even things like <abbr>, <hr>, <br>.

When You’re Done:

Share your work (screenshot or code) in the group!
Invite your friends to join the channel and learn with us.
✌️Stay well and get ready for our next topic: CSS Styling!

#Week1 #Html #project #project1
Use this code for now for your image's size to decrease. Put it before <body>. You can change the width to your preferences.

<style>
    img {
    width: 50px;
    height: auto;
}
</style>

Week 1 HTML Review Exercise

#Week1 #Html #review
2. Which attribute is used to open a link in a new browser tab?
Anonymous Quiz
0%
A) open="new"
43%
B) href="_blank"
50%
C) target="_blank"
7%
D) window="newtab"
3. What is the correct order of tags to create a basic HTML page?
Anonymous Quiz
0%
A) <html>, <body>, <head>
0%
B) <head>, <html>, <body>
100%
C) <html>, <head>, <body>
0%
D) <body>, <head>, <html>
4. How can you make a numbered list in HTML?
Anonymous Quiz
0%
A) <list>
87%
B) <ol>
0%
C) <ul>
13%
D) <li>
5. What does <td> stand for in HTML tables?
Anonymous Quiz
14%
A) Table Division
71%
B) Table Data
7%
C) Table Description
7%
D) Table Design
6. Which tag is used to embed a video in an HTML page?
Anonymous Quiz
93%
A) <video>
0%
B) <media>
7%
C) <embed>
0%
D) <file>