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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up Page</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.signup-container {
background: rgba(255, 255, 255, 0.95);
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 400px;
text-align: center;
}

.signup-container h2 {
color: #333;
margin-bottom: 20px;
font-size: 28px;
}

.input-group {
margin-bottom: 20px;
text-align: left;
}

.input-group label {
display: block;
color: #555;
margin-bottom: 8px;
font-size: 14px;
}

.input-group input {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease;
}

.input-group input:focus {
outline: none;
border-color: #ff6b6b;
}

button {
width: 100%;
padding: 12px;
background: linear-gradient(45deg, #ff6b6b, #ff8e53);
border: none;
border-radius: 8px;
color: white;
font-size: 16px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.signup-container p {
margin-top: 20px;
color: #555;
font-size: 14px;
}

.signup-container a {
color: #ff6b6b;
text-decoration: none;
font-weight: bold;
}

.signup-container a:hover {
text-decoration: underline;
}

@media (max-width: 480px) {
.signup-container {
padding: 20px;
margin: 20px;
}
}
</style>
</head>
<body>
<div class="signup-container">
<h2 class="sin">Ethio coder</h2>
<form>
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Enter your username" required>
</div>

<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
</div>
<button type="submit">Sign Up</button>
</form>
<p>Already have an account? <a href="#" onclick="display()">Log in</a></p>
</div>

<script >
var sinUp=document.querySelector('.sin');
function display(){
alert('Please first Sign up then you can login ')
}
</script>
</body>
</html>
๐Ÿ‘7โค1
What is a CSS comment?

A CSS comment is a note you write inside your CSS code. It is not shown on the website and does not affect how the page looks.

You use it to:


๐Ÿ‘‰Explain what your code does

๐Ÿ‘‰Leave reminders for yourself or others



How to write a CSS comment:

๐Ÿ’ฅYou start with /* and end with */.

๐Ÿ‘‰Example:

/* This is a comment */ 

body {   background-color: lightblue;

/* This sets the background color */
}

Important:

๐Ÿ’ฅCSS comments can be on a line by themselves or next to code.

๐Ÿ’ฅThe browser ignores anything inside /* ... */.
แ‰ แ‰€แˆ‹แˆ แŠ แˆ›แˆญแŠ› แˆ‹แˆตแˆจแ‹ณแˆ…แค แ‹จ CSS แŠฎแˆ˜แŠ•แ‰ต แˆ›แˆˆแ‰ต แ‰  CSS แŠฎแ‹ตแˆ… แ‹แˆตแŒฅ แ‹จแˆแ‰ตแŒฝแˆแ‹ แˆ›แˆตแ‰ณแ‹ˆแˆป/แˆ›แ‰ฅแˆซแˆชแ‹ซ แˆ›แˆˆแ‰ต แАแ‹แข

แ‹ญแˆ„ แˆ›แˆตแ‰ณแ‹ˆแˆป/comment แ‰ แ‹ตแˆจ แŒˆแŒน แˆ‹แ‹ญ แŠ แ‹ญแ‰ณแ‹ญแˆแค แ‹จแ‹ตแˆจ แŒˆแŒนแŠ• แŒˆแŒฝแ‰ณแˆ แˆแŠ•แˆ แŠ แ‹ญแ‰€แ‹ญแˆญแˆแข

แˆˆแˆแŠ• แŠฅแŠ•แŒ แ‰€แˆ˜แ‹‹แˆˆแŠ• แŠซแˆแŠจแŠแก-
๐Ÿ‘‰แŠฎแ‹ฑ แˆแŠ• แŠฅแŠ•แ‹ฐแˆšแˆฐแˆซ แˆˆแˆ›แˆตแˆจแ‹ณแ‰ต
๐Ÿ‘‰แˆˆแˆซแˆตแˆ… แ‹ˆแ‹ญแˆ แˆˆแˆŒแˆŽแ‰ฝ แˆ›แˆตแ‰ณแ‹ˆแˆป แˆˆแˆ˜แ‰ฐแ‹

แŠฅแŠ•แ‹ดแ‰ต แŠฅแŠ•แŒฝแ‹แˆˆแŠ• แŠซแˆแŠจแŠ แ‹ฐแŒแˆžแก-
๐Ÿ’ฅแ‰  /* แˆแˆแŠญแ‰ต แ‰ตแŒ€แˆแˆซแˆˆแˆ… แ‰  */ แˆแˆแŠญแ‰ต แ‹ฐแŒแˆž แ‰ตแŒจแˆญแˆณแˆˆแˆ…แข

แˆแˆณแˆŒ แก-
/* แ‹ญแˆ„ แŠฎแˆ˜แŠ•แ‰ต แАแ‹ */
body {
  background-color: lightblue;

/* แ‹ญแˆ„ background color/แ‰€แˆˆแˆ แ‹ซแˆตแ‰€แˆแŒฃแˆ */
}

๐Ÿ’ฅแ‹‹แŠ“แ‹ แАแŒˆแˆญ แ‹ญแˆ„ แАแ‹แค แŠฎแˆ˜แŠ•แ‰ต แ‰ แŠฎแ‹ตแˆ… แ‹แˆตแŒฅ แ‹จแˆแ‰ตแŒฝแˆแ‹ แАแŒˆแˆญ แˆฒแˆ†แŠ• แ‹จแ‹ตแˆจ แŒˆแŒนแŠ• แŠ แˆฐแˆซแˆญ แˆแŠ•แˆ แŠ แ‹ญแАแŠซแˆแข แ‰ แŠ แŠ•แ‰ฐแŠ“ แ‰ แˆŒแˆŽแ‰ฝ แŠฎแ‹ฑแŠ• แ‰ แˆšแ‹ซแ‹ฉ แˆฐแ‹Žแ‰ฝ แˆ˜แŠซแŠจแˆ แŠฅแŠ•แ‹ฐ แˆ˜แŒแ‰ฃแ‰ขแ‹ซ แŠฅแŠ•แŒ แ‰€แˆ˜แ‹‹แˆˆแŠ•แข

๐Ÿ’ฅแ‹ตแˆจ แŒˆแŒน /websitu แŠฎแ‹ฑแŠ• แ‰ แˆšแ‹ซแАแ‰ฅ
๐Ÿ‘3
แˆตแˆˆ coding แ‹จแˆฐแŒˆแˆจแˆ™แŠ แАแŒˆแˆฎแ‰ฝ

Watch by pressing the following link๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

https://t.me/+1F-gkmYE38w0OTA0

Betelay jemari kehonachu ๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†
๐Ÿ‘2
Forwarded from Coding Era
To be successful person

You can be successful. Just donโ€™t give up.

Work a little every day.

Believe in yourself.

Learn from your mistakes.

Stay strong, even when life is hard.

Keep dreaming big.

Be kind and honest.

Never stop learning.


Step by step, you will reach your goal. Success takes time, but you can do it!

Join:https://t.me/+1F-gkmYE38w0OTA0
๐Ÿ‘5๐Ÿ”ฅ1
Introduction to JavaScript (JS)

What is JavaScript?

JavaScript (JS) is a programming language used to make websites interactive.

It works with HTML and CSS.

JavaScript runs in the browser (like Chrome, Firefox).


Why Use JavaScript?

Read More๐Ÿ‘‡
๐Ÿ‘10๐Ÿ‘3โค2
Main Uses of JavaScript

1. Web Development (Frontend)

JS makes websites interactive and dynamic.

Show/hide elements

Validate forms

Handle user actions (click, scroll, etc.)

Change content without reloading the page

Example: Clicking a button to display a message


2. Web Development (Backend)

With Node.js, JS can also run on the server:

Handle requests and responses

Connect to databases

Build APIs

Power full-stack apps

Example: Chat applications like WhatsApp Web


3. Mobile App Development

JS is used to build mobile apps using:
Read More ๐Ÿ‘‡
โค2๐Ÿ”ฅ2๐Ÿ‘1
Forwarded from Birhan Nega
แ‰€แˆ‹แˆ แ‰ตแˆแˆ…แˆญแ‰ต แ‹จแ‰ตแŠ›แ‹ แАแ‹ แ‰ฅแˆ‹แ‰ฝแˆ แŠ แ‰ตแˆ›แˆฉแข แ‰ แ‰€แˆ‹แˆ‰ แ‹ˆแ‹ฐ แˆตแˆซ แ‹จแˆšแ‹ซแˆตแŒˆแ‰ฃแŠ• แ‰ฅแˆ‹แ‰ฝแˆแˆ แŠ แ‰ณแˆตแ‰กแข if you want to succeeded, get ready for the challenge, you have to pay what it takes to achieve the goal.

แ‰ฅแ‹™ แ‰ฐแˆ›แˆชแ‹Žแ‰ฝ แŠขแŠ•แŒ€แАแˆชแŠ•แŒ แˆ˜แˆ›แˆญ แŠฅแˆแˆแŒ‹แˆˆแˆ แŒแŠ• Mathematics แŠจแ‰ฃแ‹ต แАแ‹ แˆตแˆˆแ‹šแˆ… แˆถแˆปแˆ แˆ˜แŒแ‰ฃแ‰ต แŠ แˆˆแ‰ฅแŠ แˆฒแˆ‰ แ‹ญแˆฐแˆ›แˆแข

แ‰ณแŒแˆŽ แŒฅแ‰ฅแˆต แˆ˜แ‰ฅแˆ‹แ‰ต แŠฅแ‹จแ‰ฐแ‰ปแˆˆ แ‹ตแŠซแˆแˆฝแˆแŠ• แˆˆแˆ˜แˆธแˆฝ แˆซแˆตแŠ• แ‰ แ‰ แˆถ แˆ˜แˆธแŠ•แŒˆแˆ แ‰ฐแŒˆแ‰ข แŠ แ‹ญแ‹ฐแˆˆแˆแข
What is CSS Color?

In CSS, color is used to set the color of text, backgrounds, borders, and more.
It makes websites look beautiful and easy to read.

Where Do We Use Color?
๐Ÿ’ฅText color
๐Ÿ’ฅBackground color
๐Ÿ’ฅBorder color

Example:
p { color: blue; /* text will be blue */ } 

div { background-color: yellow; /* background will be yellow */ }

How Can We Write Colors in CSS?
There are different ways to write colors:


1.Color names

Simple English names.

Example: red, blue, green, yellow.

h1 { color: red; } 

2.Hex codes

A special code that starts with #.

Example: #ff0000 (red), #00ff00 (green).

h1 { color: #ff0000; } 

3.RGB (Red, Green, Blue)

You write how much red, green, and blue you want (0 to 255).

Example:

h1 { color: rgb(255, 0, 0); /* red */ } 

4.RGBA (RGB + Alpha)

Same as RGB, but you can add opacity (transparency).
Example:
h1 { color: rgba(255, 0, 0, 0.5); /* half transparent red */ } 

Summary:
๐Ÿ‘‰Color names are easy to remember.

๐Ÿ‘‰Hex codes and RGB give you more control.

๐Ÿ‘‰RGBA adds transparency.


If you want Amharic voice explanation

Here is the link๐Ÿ‘‰https://t.me/besmart123go/23
โค4๐Ÿ‘1
A 21-day project plan to help you build your web development skills using HTML and CSS.

These projects will gradually increase in complexity, helping you gain hands-on experience. Remember, practice is key to becoming a proficient web developer.

Week 1 - Basic Projects:

Day 1 - Personal W
....Read More..
๐Ÿ‘4
๐Ÿ‘3โค2
๐ŸŽ‰ Big News, Ethio Coders! ๐ŸŽ‰

Alhamdulillah! Weโ€™ve reached 5k 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  #5KSubscribers  #KeepCoding
๐Ÿ‘3โค1
1. What is CSS Background?

The CSS background properties are used to style the background of an HTML element.

This includes:-
๐Ÿ’ฅBackground color
๐Ÿ’ฅBackground image
๐Ÿ’ฅImage repeat behavior
๐Ÿ’ฅPositioning and size
๐Ÿ’ฅAttachment behavior

You can use each background property separately

2. CSS Background Properties

A. background-color

Sets the color behind the content of an element.

Accepts color names, hex codes, rgb/rgba, or hsl/hsla.

Example:

div { 
background-color: #f0f0f0;
}

B. background-image
Sets an image as the background.

Use url("path-to-image") to load the image.

If the image is smaller than the element, it repeats by default.

Example:

body { background-image: url("bg.jpg"); 
}

C. background-repeat

Controls how a background image is repeated.

Values:
repeat (default) โ€” repeats in both directions

no-repeat โ€” shows once

repeat-x โ€” repeats horizontally

repeat-y โ€” repeats vertically

Example:
div {
background-image: url("bg.png"); background-repeat: no-repeat;
}

D. background-position

Sets the starting position of the background image.

You can use:

Keywords: left, center, right, top, bottom

Percentages or pixels: 50% 20px

Example:
div { 
background-position: center top;
}

E. background-size
Defines the size of the background image.

Values:
cover: fills the element, image may be cropped

contain: fits entire image, keeps aspect ratio

auto: default size

width height: e.g., 100px 200px

Example:
div { background-size: cover; 
}

F. background-attachment

Determines whether the background image scrolls with the content or stays fixed.

Values:
scroll (default) โ€” image moves with content

fixed โ€” image stays in place when scrolling

local โ€” scrolls with the elementโ€™s content

Example:
body { background-attachment: fixed; 
}
๐Ÿ‘3โค1
4. Which type of CSS is best suited for large projects?
Anonymous Quiz
16%
Inline CSS
21%
Internal CSS 
48%
External CSS 
15%
Embedded CSS
Title: "Mr. HTML and the CSS Fashion Show"

One day, Mr. HTML woke up and looked in the mirror.

He said, โ€œOh no! I look so ugly! Just plain text, no color, no style!โ€
He went outside and saw his friend Mr. CSS,
who was very cool
wearing sunglasses and colorful clothes.

Mr. HTML said, โ€œBro, help me! I look like a potato!โ€

Mr. CSS laughed and said, โ€œDonโ€™t worry, Iโ€™ll style you up!โ€

So Mr. CSS took out his magic pen and wrote:

h1 { color: red; 
font-size: 40px;
background-color: yellow;
text-align: center;
border: 2px dashed green;
}

Suddenly, Mr. HTML turned into a fashion model! He had red letters, yellow background, green border โ€” even the birds said, โ€œWow!โ€
He walked around showing off, saying, โ€œCall me Mr. Stylish now!โ€

But then his little brother, JavaScript, came and clicked a button...
Poof!
Mr. HTMLโ€™s style was gone!

He shouted, โ€œHey! Bring back my CSS clothes!โ€
JavaScript said, โ€œOops, my bad! I pressed the wrong button!โ€

From that day, Mr. HTML always said:
"Without CSS, I am just a naked tag!"
๐Ÿ‘2๐Ÿคฉ2๐Ÿ‘1
Responsive header


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
 
   
    <style>
       *{
margin: 0;
padding: 0;
}

nav{
background: #E9E6DE;
padding: 40px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo{
font-size: 30px;
font-weight: bold;
}
.nav-link a{
margin-left: 30px;
font-size: 20px;
font-weight: bold;
text-decoration: none;
color: #524E4E;
}
.show-btn ,.hide-btn{
display: none;
font-size: 40px;
}
.hide-btn{
color: #FFFFFF;
position: absolute;
top: 0;
left: 6px;

}

@media (max-width: 800px) {
.show-btn ,.hide-btn{
display: block;
}
nav {
  padding: 15px;
 
 
}
.nav-link{
  display: flex;
flex-direction: column;
position: absolute;
top: 0;
right: -200px;
padding: 40px;
background: #392C2C;
height: 100vh;
text-align: left;
transition: 1s;

}
.nav-link a{
  color: #FFFFFF;
  margin-bottom: 40px;
  text-align: left;
 
}
}
       
    </style>
   
   
   
   
   
</head>
<body>
<section class="header">
    <nav>
        <div class="logo">
            Ethio<span style="color: red;">Coder</span>
        </div>
       
        <div class="nav-link" >
            <div class="hide-btn" onclick="hide_btn()">&times;</div>
            <a href="#">Home</a>
            <a href="#">About</a>
            <a href="#">Service</a>
            <a href="#">Contact</a>
        </div>
        <div class="show-btn" onclick="show_btn()">&#9776</div>
    </nav>
</section>
   
  <script>
      let nav_link=document.querySelector('.nav-link');
     
     
      function show_btn(){
          nav_link.style.right='0px';
      }
      function hide_btn() {
    nav_link.style.right = '-200px';
}
  </script> 
</body>
</html>
๐Ÿ‘4๐Ÿ‘2