Code Spark
8.11K subscribers
205 photos
11 videos
68 files
138 links
Code Spark – helps you learn coding through collaboration in an easy and fun way. Work together, start small, practice step by step, and turn ideas into real projects. Spark your mind, share your knowledge, build skills as a team, and become great program
Download Telegram
HTML FORM
-------------------------------------

HTML Form (የHTML ፎርም) ምንድን ነው? 📝✨
የHTML ፎርም ተጠቃሚዎች መረጃዎችን እንዲያስገቡና ወደ ሰርቨር እንዲልኩ የሚያስችል የHTML አካል ነው። ለምሳሌ፣ የይለፍ ቃል፣ የተጠቃሚ ስም፣ ኢሜይል አድራሻ፣ አስተያየት፣ ወዘተ. ማስገባት እንችላለን። 🤩🚀

የHTML ፎርም መሰረታዊ አካላት (Basic Components of HTML Form)
<form> Tag (የ<form> መለያ) 📦
🔒

ይህ መለያ የፎርሙን መጀመሪያና መጨረሻ ያመለክታል። (Defines the beginning and end of a form)

   የፎርሙን ተግባርና መረጃ የሚላክበትን መንገድ ይገልጻል። (Specifies the form's action and method)

  ዋና ዋናዎቹ ባህሪያት action እና method ናቸው። (Main attributes: action and method)

action: መረጃው የሚላክበትን የሰርቨር ፋይል (ለምሳሌ፣ process.php) ያመለክታል። 🚀 (Specifies the server file to which the form data is sent)

method: መረጃው የሚላክበትን መንገድ ይወስናል (ለምሳሌ፣ GET ወይም POST)። (Determines the HTTP method used to submit the form)

GET: መረጃውን በURL ውስጥ ይልካል (ለትንሽ መረጃ ተስማሚ ነው፣ ነገር ግን ደህንነቱ የተጠበቀ አይደለም)። 🧐 (Sends form data in the URL)

POST: መረጃውን በHTTP ጥያቄ ውስጥ ይልካል (ለብዙ መረጃና ለደህንነት ተስማሚ ነው)። 👍 (Sends form data in the HTTP request body)

ምሳሌ:
   <form action="process.php" method="post">
    </form>

<input> Tag (የ<input> መለያ) ⌨️🖱️
   ተጠቃሚዎች መረጃዎችን እንዲያስገቡ የሚያስችል የግብዓት መስክ ይፈጥራል። (Creates input fields for user input)

የግብዓት አይነቶች በtype ባህሪ ይገለፃሉ (ለምሳሌ፣ text, password, email, checkbox, radio, submit)።
(Input types are defined by the type attribute)

type="text": የጽሑፍ ግብዓት መስክ ይፈጥራል። 📝 (Creates a text input field)

ምሳሌ:

     <label for="username">የተጠቃሚ ስም:</label><br>
<input type="text" id="username" name="username"><br>

type="password": የይለፍ ቃል ግብዓት መስክ ይፈጥራል (የተጻፈው ጽሑፍ በነጥቦች ወይም በከዋክብት ይሸፈናል)። 🔒👀 (Creates a password input field)

ምሳሌ:
     <label for="password">የይለፍ ቃል:</label><br>
<input type="password" id="password" name="password"><br>

type="email": የኢሜይል አድራሻ ግብዓት መስክ ይፈጥራል (የኢሜይል ቅርጸት ትክክል መሆኑን ያረጋግጣል)። 📧✔️ (Creates an email input field)

ምሳሌ:
     <label for="email">ኢሜይል:</label><br>
<input type="email" id="email" name="email"><br>

type="checkbox": የአማራጭ ሳጥን ይፈጥራል (ብዙ አማራጮችን መምረጥ ይቻላል)። ✅☑️ (Creates a checkbox input)

ምሳሌ:
     <label for="vehicle1">መኪና አለኝ</label>
<input type="checkbox" id="vehicle1" name="vehicle1" value="Car"><br>
<label for="vehicle2">ብስክሌት አለኝ</label>
<input type="checkbox" id="vehicle2" name="vehicle2" value="Bike"><br>

type="radio": የክብ አማራጭ ይፈጥራል (አንድ አማራጭ ብቻ መምረጥ ይቻላል)። 🔘⭕ (Creates a radio button input)

ምሳሌ:
     <label for="male">ወንድ</label>
<input type="radio" id="male" name="gender" value="male"><br>
<label for="female">ሴት</label>
<input type="radio" id="female" name="gender" value="female"><br>

type="submit": ፎርሙን የሚያስገባ ቁልፍ ይፈጥራል (መረጃውን ወደ ሰርቨር ይልካል)። 🚀👍 (Creates a submit button)

ምሳሌ:
     <input type="submit" value="አስገባ">

<label> Tag (የ<label> መለያ) 🏷️📝
  የግብዓት መስክን መለያ ይሰጣል (ተጠቃሚዎች የትኛውን መረጃ ማስገባት እንዳለባቸው እንዲያውቁ ይረዳል)። (Provides a label for an input element)

for ባህሪው የትኛውን ግብዓት እንደሚያመለክት ይገልጻል። (The for attribute links the label to an input element)

ምሳሌ:
   <label for="username">የተጠቃሚ ስም:</label>

<textarea> Tag (የ<textarea> መለያ) 📝💬
  ብዙ መስመር ያለው የጽሑፍ ግብዓት መስክ ይፈጥራል (ለአስተያየት ወይም ለረጅም ጽሑፍ ተስማሚ ነው)። (Creates a multiline text input field)

ምሳሌ:
   <label for="comment">አስተያየት:</label><br>
<textarea id="comment" name="comment" rows="4" cols="50"></textarea><br>

<select> Tag (የ<select> መለያ) ⬇️📋
  ተጠቃሚዎች ከአማራጮች ዝርዝር ውስጥ አንዱን እንዲመርጡ ያስችላል። (Creates a dropdown list)

<option> መለያዎች አማራጮችን ይገልጻሉ። (The <option> tags define the options in the list)

ምሳሌ:
   <label for="cars">መኪና ይምረጡ:</label><br>
<select id="cars" name="cars">
    <option value="volvo">ቮልቮ</option>
    <option value="saab">ሳብ</option>
    <option value="fiat">ፊያት</option>
    <option value="audi">አውዲ</option>
</select><br>


የHTML ፎርም ምሳሌ (HTML Form Example)
<form action="process.php" method="post">
    <label for="username">የተጠቃሚ ስም:</label><br>
    <input type="text" id="username" name="username"><br><br>
👍3
    <label for="password">የይለፍ ቃል:</label><br>
    <input type="password" id="password" name="password"><br><br>
    <label for="email">ኢሜይል:</label><br>
    <input type="email" id="email" name="email"><br><br>
    <label for="comment">አስተያየት:</label><br>
    <textarea id="comment" name="comment" rows="4" cols="50"></textarea><br><br>
    <input type="submit" value="አስገባ">
</form>

ይሄ መሰረታዊ የHTML ፎርም ማብራሪያ ነው። ማንኛውም ተጨማሪ ጥያቄ ካለቹ መጠየቅ ይቻላል። 😊👍🎉
❤1
Examples of html form
📌 Semantic Tags in HTML

Semantic tags are HTML elements that clearly describe the meaning of their content. They improve readability, SEO, and accessibility of a webpage.

1️⃣ <header> - Header Section 🏷️
The <header> tag represents the top section of a webpage or a section. It often contains the logo, navigation, or title.

🔹 Example:
<header> <h1>🌍 Welcome to My Website</h1> <nav> <a href="#">Home</a> | <a href="#">About</a> | <a href="#">Contact</a> </nav> </header> 

2️⃣ <nav> - Navigation Bar 🚀
The <nav> tag is used for the main navigation links of a webpage.

🔹 Example:
<nav> <ul> <li>🏠 <a href="index.html">Home</a></li> <li>ℹ️ <a href="about.html">About</a></li> <li>📞 <a href="contact.html">Contact</a></li> </ul> </nav> 

3️⃣ <section> - Grouped Content 📌
The <section> tag divides a webpage into meaningful parts.

🔹 Example:
<section> <h2>💡 Our Services</h2> <p>We provide web development, SEO, and UI/UX design.</p> </section> 

4️⃣ <article> - Independent Content 📰
The <article> tag is used for self-contained content, such as blogs or news articles.

🔹 Example:
<article> <h2>🖥️ The Future of AI</h2> <p>Artificial Intelligence is transforming the world...</p> </article> 

5️⃣ <aside> - Sidebar Content 🎯
The <aside> tag contains extra information such as ads, related links, or side content.

🔹 Example:
<aside> <h3>🔗 Related Posts</h3> <ul> <li>✔️ HTML Basics</li> <li>✔️ CSS Grid & Flexbox</li> </ul> </aside> 

6️⃣ <footer> - Bottom Section 🔚
The <footer> tag represents the bottom of a webpage, usually containing copyright or contact details.

🔹 Example:
<footer> <p>© 2025 My Website. All rights reserved. ✅</p> </footer> 

🌟 Conclusion
Semantic tags organize and structure your webpage, making it more meaningful and accessible.

This is the last class of the basic of html
👍2❤1
Examples of semantic tag
👨‍💻 My Web Development Journey 👨‍💻

I'm excited to share my personal portfolio website! 🎉 It's a reflection of my skills, creativity, and passion for web development.

💡 What’s Inside?
✔️ About Me
✔️ My Services
✔️ Contact Information

I’d love to hear your thoughts! Let’s connect and collaborate. 🚀

👉 Check it out: My portfolio website
👍2👏2🔥1🥰1
አሰላሙ ኣለይኩም ወራህመቱላሂ ወበራካቱህ እንዴት ነቹ

html ጨርሰናል ቀጣይ ምን እንጀምር
Final Results
48%
Css
20%
JavaScript
10%
Python
20%
C++
3%
Or other
👍2
Dear Ethio Coders members,
Learning CSS is an important step in becoming a great web developer.

To help more people improve their skills, we invite you to share this Telegram link 👉 https://t.me/Muju_man_coding with anyone who wants to learn CSS.
By sharing, you are helping others grow and become better at coding.

Let's support each other and build a strong coding community.

May Allah accept your Ramadan and bless you with knowledge and success.

Together, we learn. Together, we grow!
👍1👏1
❤1
INTRODUCTION TO CSS

What is Css?

💥CSS (Cascading Style Sheets) is a language used to style and design web pages. It controls the layout, colors, fonts, spacing, and overall appearance of a webpage.

CSS works alongside HTML to make websites visually appealing and responsive.

✨Key Features of CSS:

Styling: Controls colors, fonts, and backgrounds.
Layout: Arranges elements using Flexbox, Grid, and other techniques.
Responsiveness: Adapts websites for different screen sizes.
Efficiency: Allows applying styles to multiple pages using external stylesheets.



💥CSS (Cascading Style Sheets) የድረ-ገጾችን ገጽታ ለመንደፍ እና ለማስዋብ የሚያገለግል ቋንቋ ነው።

የድረ-ገጽን አቀማመጥ፣ ቀለሞች፣ ቅርጸ-ቁምፊዎች፣ ክፍተቶች እና አጠቃላይ ገጽታ ይቆጣጠራል። CSS ድረ-ገጾችን ማራኪ እና ለተለያዩ መሳሪያዎች ምቹ ለማድረግ ከ HTML ጋር አብሮ ይሰራል::

✨የ CSS ዋና ዋና ባህሪያት፡-

ማስዋብ (Styling): ቀለሞችን፣ ቅርጸ-ቁምፊዎችን እና ዳራዎችን ይቆጣጠራል::

አቀማመጥ (Layout): ንጥረ ነገሮችን በFlexbox፣ Grid እና ሌሎች ቴክኒኮችን በመጠቀም ያደራጃል::

ምላሽ ሰጪነት (Responsiveness): ድረ-ገጾች ለተለያዩ የስክሪን መጠኖች እንዲመጥኑ ያደርጋል::

ቅልጥፍና (Efficiency): ውጫዊ የስታይል ሉሆችን (stylesheets) በመጠቀም ቅጦችን ለብዙ ገጾች እንዲተገበሩ ያስችላል::
🥰3
💥Why use CSS

We use Cascading Style Sheets (CSS) to control the presentation of web pages written in HTML. Think of HTML as the structure and content of a house – the walls, doors, and furniture. CSS is like the interior designer. It tells the browser how that content should look:

Styling: CSS allows us to define the visual appearance of elements, such as colors, fonts, sizes, spacing, and layout. Instead of writing styling information directly into each HTML element, we can centralize it in CSS rules. This makes our code cleaner and easier to manage.

Separation of Concerns: CSS separates the presentation (how things look) from the structure and content (what things are). This separation makes websites easier to develop, maintain, and update. If you want to change the look of your entire website, you only need to modify the CSS files, not touch the HTML.

Consistency: By using CSS, we can ensure a consistent look and feel across all the pages of a website. This creates a better user experience and strengthens brand identity.

Responsiveness: CSS enables us to create websites that adapt to different screen sizes and devices (desktops, tablets, phones). Techniques like media queries allow us to apply different styles based on the device's characteristics.

Efficiency: External CSS files are cached by the browser, meaning that once a user visits one page of your website, their browser won't have to download the same styling information again for other pages. This makes websites load faster.

Accessibility: Well-structured CSS can contribute to better website accessibility by ensuring that content is presented in a clear and understandable way for all users, including those with disabilities.

💥Cssን ለምንድነው ምንጠቀመው

ካስኬዲንግ ስታይል ሺትስ (CSS) በኤችቲኤምኤል (HTML) የተጻፉ የድረ-ገጾችን አቀራረብ ለመቆጣጠር እንጠቀምበታለን። ኤችቲኤምኤልን እንደ ቤት አወቃቀር እና ይዘት – ግድግዳዎች፣ በሮች እና የቤት እቃዎች – ብለው ያስቡት። ሲኤስኤስ ደግሞ እንደ የውስጥ ዲዛይነር ነው። ይዘቱ በአሳሹ እንዴት መታየት እንዳለበት ይነግረናል፡-

ማስዋብ (Styling ): ሲኤስኤስ እንደ ቀለሞች፣ ቅርጸ-ቁምፊዎች (fonts)፣ መጠኖች፣ ክፍተቶች እና አቀማመጥ ያሉ የንጥረ ነገሮችን (elements) የእይታ ገጽታ እንድንገልጽ ያስችለናል። የማስዋቢያ መረጃን በቀጥታ በእያንዳንዱ የኤችቲኤምኤል ኤለመንት ውስጥ ከመጻፍ ይልቅ በሲኤስኤስ ህጎች ውስጥ እናማክላለን (centralize). ይህ ኮዳችንን ንጹህ እና ለማስተዳደር ቀላል ያደርገዋል።

የሃላፊነት መለያየት (Separation of concern ): ሲኤስኤስ አቀራረብን (ነገሮች እንዴት እንደሚታዩ) ከአወቃቀር እና ይዘት (ነገሮች ምን እንደሆኑ) ይለያል። ይህ መለያየት ድረ-ገጾችን ለማዳበር፣ ለመጠገን እና ለማዘመን ቀላል ያደርገዋል። የጠቅላላ ድር ጣቢያዎን ገጽታ ለመለወጥ ከፈለጉ የሲኤስኤስ ፋይሎችን ብቻ ማስተካከል ያስፈልግዎታል፣ ኤችቲኤምኤልን ሳይነኩ።

ተጣጣፊነት (consistency ): ሲኤስኤስን በመጠቀም በሁሉም የድር ጣቢያው ገጾች ላይ ወጥ የሆነ መልክ እና ስሜት ማረጋገጥ እንችላለን። ይህ የተሻለ የተጠቃሚ ተሞክሮ ይፈጥራል እና የምርት ማንነትን ያጠናክራል።

ምላሽ ሰጪነት (Responsive ): ሲኤስኤስ ከተለያዩ የስክሪን መጠኖች እና መሳሪያዎች (ዴስክቶፕ፣ ታብሌቶች፣ ስልኮች) ጋር የሚጣጣሙ ድረ-ገጾችን እንድንፈጥር ያስችለናል። እንደ ሚዲያ መጠይቆች (media queries) ያሉ ቴክኒኮች በመሳሪያው ባህሪያት ላይ በመመስረት የተለያዩ ቅጦችን እንድንተገብር ያስችሉናል።

ውጤታማነት (Efficiency ): ውጫዊ የሲኤስኤስ ፋይሎች በአሳሹ ይቀመጣሉ (cached)፣ ይህም ማለት አንድ ተጠቃሚ የድር ጣቢያዎን አንድ ገጽ ከጎበኘ በኋላ አሳሹ ለሌሎች ገጾች ተመሳሳይ የማስዋቢያ መረጃን እንደገና ማውረድ አይኖርበትም። ይህ የድር ጣቢያዎችን የመጫኛ ፍጥነት ያሻሽላል።

ተደራሽነት (accessibility ): በደንብ የተዋቀረ ሲኤስኤስ የአካል ጉዳተኞችን ጨምሮ ለሁሉም ተጠቃሚዎች ይዘቱ ግልጽ እና ለመረዳት በሚያስችል መንገድ እንዲቀርብ በማድረግ የተሻለ የድር ጣቢያ ተደራሽነትን ለማረጋገጥ አስተዋፅኦ ያደርጋል።
👍3🥰2❤1
ኢድ ሙባረክ ለethio coders ድንቅ አባላት በሙሉ! ይህ የደስታ በዓል ለሁላችሁም ደስታን፣ ሰላምን እና ስፍር ቁጥር የሌላቸውን በረከቶች ያምጣላችሁ። በሙቀት እና በአንድነት የተሞላ የተባረከ ኢድ እመኛለሁ። تقبل الله منا ومنكم (ተቀበለላሁ ሚና ወሚንኩም) - አላህ ከእኛም ከእናንተም ጾምና መልካም ስራዎችን ይቀበልልን።
👍2❤1
🎉 Big News, Ethio Coders! 🎉

Alhamdulillah! We’ve reached 3,000 subscribers! 🚀✨

A huge THANK YOU to every member of this amazing community. Your support, engagement, and passion for coding have made this possible! 🙌💻

This is just the beginning—more tutorials, projects, and coding resources are coming soon! Let’s continue growing and learning together.

Keep supporting Ethio Coders and invite your friends to join! 💡🔥

#EthioCoders #3KSubscribers #KeepCoding
👏3❤1👍1😁1
TEYPS OF CSS

CSS (Cascading Style Sheets) has three main types:

1. Inline CSS
Used inside an HTML tag.
Good for quick styling but not recommended for large projects.
Example:

<p style="color: red; font-size: 20px;">This is an inline CSS example.</p> 

2. Internal CSS
Written inside the <style> tag in the HTML file.
Good for single-page styling but not reusable.

Example:

<html> <head> <style> p { color: blue; font-size: 25px; } </style> </head> <body> <p>This is an internal CSS example.</p> </body> </html> 

3. External CSS
Written in a separate .css file and linked to the HTML file.
Best for large projects and reusable styles.

Example:
CSS file (style.css):
p { color: green; font-size: 30px; }

HTML file:

<html> <head> <link rel="stylesheet" href="style.css"> </head> <body> <p>This is an external CSS example.</p> </body> </html> 

Which One to Use?
Use external CSS for big projects.
Use internal CSS for a single-page website.
Use inline CSS only for quick fixes.