Added the Arabic color learning website.

This commit is contained in:
Muhammad Ibrahim 2024-11-15 18:06:42 +05:30
parent 266be4c98b
commit 84c95a6c16
15 changed files with 101 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Spanish Vocabulary</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1>Colors</h1>
<h2>Learn the colors in Spanish!</h2>
<h2 class="color-title" id="red">Rojo</h2>
<img class="color" src="./assets/images/red.png" alt="red" />
<h2 class="color-title" id="blue">Azul</h2>
<img src="./assets/images/blue.png" alt="blue" />
<h2 class="color-title" id="orange">Anaranjado</h2>
<img src="./assets/images/orange.png" alt="orange" />
<h2 class="color-title" id="green">Verde</h2>
<img src="./assets/images/green.png" alt="green" />
<h2 class="color-title" id="yellow">Amarillo</h2>
<img src="./assets/images/yellow.png" alt="yellow" />
</body>
</html>
<!--
TODOs
IMPORTANT: You should not need to make ANY CHANGES to index.html
All code should be written in your CSS file.
1. Create a CSS file and incorporate it as an external stylesheet.
2. Use CSS to style each of the color titles to meaning.
Hint: Use the id to help if you don't know the words in spanish.
3. Use CSS to change all the color titles to have "font-weight: normal;"
4. Use CSS (not HTML) to make all the images 200px heigh and 200px wide.
Hint:
https://developer.mozilla.org/en-US/docs/Web/CSS/height
https://developer.mozilla.org/en-US/docs/Web/CSS/width
-->

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Spanish Vocabulary</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1>Colors</h1>
<h2>Learn the colors in Spanish!</h2>
<h2 class="color-title" id="red">Rojo</h2>
<img class="color" src="./assets/images/red.png" alt="red" />
<h2 class="color-title" id="blue">Azul</h2>
<img src="./assets/images/blue.png" alt="blue" />
<h2 class="color-title" id="orange">Anaranjado</h2>
<img src="./assets/images/orange.png" alt="orange" />
<h2 class="color-title" id="green">Verde</h2>
<img src="./assets/images/green.png" alt="green" />
<h2 class="color-title" id="yellow">Amarillo</h2>
<img src="./assets/images/yellow.png" alt="yellow" />
</body>
</html>

View File

@ -0,0 +1,28 @@
img {
height: 200px;
width: 200px;
}
.color-title {
font-weight: normal;
}
#red {
color: red;
}
#blue {
color: blue;
}
#orange {
color: orange;
}
#green {
color: green;
}
#yellow {
color: yellow;
}