Skip to content

Commit a73d05f

Browse files
author
dima_los
committed
Update
1 parent 52f7e6e commit a73d05f

25 files changed

+458
-6
lines changed

assets/tutorial-10-images/img-1.png

23.8 KB
Loading

assets/tutorial-10-images/img-2.jpg

740 KB
Loading

assets/tutorial-10-images/img-3.jpg

663 KB
Loading

resources-10.html

+192
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
7+
<title>Html+CSS: Images. Dima L</title>
8+
9+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
10+
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
11+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/fontawesome.min.css"
12+
integrity="sha512-SgaqKKxJDQ/tAUAAXzvxZz33rmn7leYDYfBP+YoMRSENhf3zJyx3SBASt/OfeQwBHA1nxMis7mM3EV/oYT6Fdw=="
13+
crossorigin="anonymous" referrerpolicy="no-referrer"/>
14+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/brands.min.css"
15+
integrity="sha512-9YHSK59/rjvhtDcY/b+4rdnl0V4LPDWdkKceBl8ZLF5TB6745ml1AfluEU6dFWqwDw9lPvnauxFgpKvJqp7jiQ=="
16+
crossorigin="anonymous" referrerpolicy="no-referrer"/>
17+
18+
19+
<link rel="stylesheet"
20+
href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css">
21+
<link rel="stylesheet"
22+
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/base16/google-light.min.css"
23+
integrity="sha512-nzMhN+KUSkxA5L9h2BKKpaFw19+a1JufkYL6GEwKPxrsf5YFO8TBbI1Qppd72zZbHAA6RG2htrd2q7sHvcb4Ew=="
24+
crossorigin="anonymous" referrerpolicy="no-referrer"/>
25+
26+
27+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/highlightjs-line-numbers.min.js"></script>
29+
30+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
31+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
32+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
33+
<link rel="manifest" href="/site.webmanifest">
34+
35+
36+
<script>
37+
hljs.highlightAll();
38+
hljs.initLineNumbersOnLoad({
39+
singleLine: true
40+
});
41+
</script>
42+
43+
<link rel="stylesheet" href="../exercise/assets/css/main.css">
44+
<link rel="stylesheet" href="../exercise/assets/css/code.css">
45+
</head>
46+
<body>
47+
<!-- Google tag (gtag.js) -->
48+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2BRPRR9Q9Y"></script>
49+
<script>
50+
window.dataLayer = window.dataLayer || [];
51+
52+
function gtag() {
53+
dataLayer.push(arguments);
54+
}
55+
56+
gtag('js', new Date());
57+
58+
gtag('config', 'G-2BRPRR9Q9Y');
59+
</script>
60+
61+
<div class="blog-main-container mx-auto py-3">
62+
<div class="content">
63+
<header class="d-flex justify-content-center pb-3">
64+
<a href="https://dimal.dev/" target="_blank" class="d-flex align-items-center text-dark text-decoration-none fs-3">
65+
<span>DimaL</span>
66+
&nbsp;
67+
<span class="">🧑‍💻</span>
68+
</a>
69+
</header>
70+
<main>
71+
<h1 class="text-center pb-5">
72+
Tutorial 10. Resources for Practice
73+
</h1>
74+
<div class="links-wrapper">
75+
<h2>Links (URLs)</h2>
76+
<ul class="links">
77+
<li>
78+
<a href="https://www.youtube.com/watch?v=Idh8n5XuYIA" class="github-link">Deadpool & Wolverine | Final Trailer | In Theaters July 26</a> &nbsp;&nbsp;
79+
👉 &nbsp; https://www.youtube.com/watch?v=Idh8n5XuYIA
80+
</li>
81+
<li>
82+
<a href="https://github.com/twbs/bootstrap" class="github-link">twbs/bootstrap</a>
83+
&nbsp;&nbsp;
84+
👉 &nbsp; https://github.com/twbs/bootstrap
85+
</li>
86+
<li>
87+
<a href="https://github.com/topics/javascript" class="github-link">javascript</a>
88+
&nbsp;&nbsp;
89+
👉 &nbsp; https://github.com/topics/javascript
90+
</li>
91+
<li>
92+
<a href="https://github.com/topics/css" class="github-link">css</a>
93+
&nbsp;&nbsp;
94+
👉 &nbsp; https://github.com/topics/css
95+
</li>
96+
<li>
97+
<a href="https://github.com/topics/sass" class="github-link">sass</a>
98+
&nbsp;&nbsp;
99+
👉 &nbsp; https://github.com/topics/sass
100+
</li>
101+
<li>
102+
<a href="https://github.com/topics/bootstrap" class="github-link">bootstrap</a>
103+
&nbsp;&nbsp;
104+
👉 &nbsp; https://github.com/topics/bootstrap
105+
</li>
106+
</ul>
107+
</div>
108+
<hr>
109+
<div class="images">
110+
<hr>
111+
<h2>Images</h2>
112+
<div>
113+
<img src="./assets/tutorial-6-images/cake.png">
114+
<img src="./assets/tutorial-6-images/code-1.png">
115+
<img src="./assets/tutorial-6-images/code-2.png">
116+
<img src="./assets/tutorial-6-images/hollow-star.png">
117+
<img src="./assets/tutorial-6-images/icon-1.png">
118+
<img src="./assets/tutorial-6-images/img-1.jpg">
119+
<img src="./assets/tutorial-6-images/img-2.jpg">
120+
<img src="./assets/tutorial-6-images/img-3.webp">
121+
<img src="./assets/tutorial-6-images/logo-1.png">
122+
<img src="./assets/tutorial-6-images/logo-2.png">
123+
<img src="./assets/tutorial-6-images/menu.svg">
124+
<img src="./assets/tutorial-6-images/parts-1.png">
125+
<img src="./assets/tutorial-6-images/parts-2.png">
126+
<img src="./assets/tutorial-6-images/star.svg">
127+
<img src="./assets/tutorial-6-images/star-2.png">
128+
<img src="./assets/tutorial-6-images/star-3.png">
129+
<img src="./assets/tutorial-6-images/yellow-circle.png">
130+
</div>
131+
</div>
132+
</main>
133+
</div>
134+
<footer class="pt-5 text-muted footer text-center">
135+
Dima L © 2024
136+
</footer>
137+
</div>
138+
139+
140+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
141+
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
142+
crossorigin="anonymous"></script>
143+
144+
<link rel="preconnect" href="https://fonts.googleapis.com">
145+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
146+
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Vollkorn:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap"
147+
rel="stylesheet">
148+
149+
150+
<style>
151+
.images {
152+
padding: 0 30px;
153+
display: flex;
154+
flex-direction: column;
155+
align-items: center;
156+
}
157+
158+
.images img {
159+
display: inline-block;
160+
max-width: 350px;
161+
max-height: 350px;
162+
padding: 30px;
163+
}
164+
165+
.links {
166+
list-style: none;
167+
display: flex;
168+
flex-direction: column;
169+
gap: 10px;
170+
}
171+
172+
.links > li {
173+
border-bottom: 1px solid #dddddd;
174+
padding-bottom: 10px;
175+
}
176+
177+
.links > li {
178+
display: flex;
179+
justify-content: space-between;
180+
}
181+
182+
.links-wrapper {
183+
display: flex;
184+
justify-content: center;
185+
flex-direction: column;
186+
align-items: center;
187+
}
188+
</style>
189+
190+
191+
</body>
192+
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

solutions/tutorial-10/10-1.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<p>
2+
<a href="" class="css-link">CSS</a> is for appearence
3+
</p>
4+
5+
<style>
6+
.css-link {
7+
margin-right: 20px;
8+
}
9+
</style>

solutions/tutorial-10/10-10.html

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<img src="https://dimal-dev.github.io/html-css/assets/tutorial-6-images/img-3.webp" class="lego-preview">
2+
<p class="lego-stats">
3+
<img src="https://dimal-dev.github.io/html-css/assets/tutorial-6-images/cake.png" class="lego-stats-cake">
4+
18+
5+
<img src="https://dimal-dev.github.io/html-css/assets/tutorial-6-images/parts-2.png?1" class="lego-stats-part">
6+
6187
7+
<img src="https://dimal-dev.github.io/html-css/assets/tutorial-6-images/star-3.png?1" class="lego-stats-star">
8+
4.4
9+
</p>
10+
<p class="lego-title">
11+
The Razor Crest™
12+
</p>
13+
<p class="lego-price">
14+
599,99 €
15+
</p>
16+
<p>
17+
<a href="" class="lego-add-to-bag-link">
18+
Add to Bag
19+
</a>
20+
</p>
21+
<style>
22+
.lego-preview {
23+
width: 250px;
24+
margin-bottom: 10px;
25+
margin-left: 20px;
26+
margin-top: 20px;
27+
}
28+
29+
.lego-stats {
30+
font-size: 14px;
31+
}
32+
33+
.lego-stats-cake {
34+
height: 15px;
35+
}
36+
37+
.lego-stats-part {
38+
height: 15px;
39+
margin-left: 15px;
40+
}
41+
42+
.lego-stats-star {
43+
height: 15px;
44+
margin-left: 15px;
45+
}
46+
47+
.lego-price {
48+
font-weight: bold;
49+
}
50+
51+
.lego-add-to-bag-link {
52+
display: inline-block;
53+
border-radius: 20px;
54+
55+
padding: 10px 20px;
56+
color: rgb(0, 0, 0);
57+
background-color: rgb(244, 125, 32);
58+
59+
text-decoration: none;
60+
}
61+
62+
.lego-add-to-bag-link:hover {
63+
background-color: rgb(212, 108, 26);
64+
}
65+
66+
.lego-add-to-bag-link:active {
67+
background-color: rgb(176, 89, 20);
68+
}
69+
p {
70+
margin-left: 20px;
71+
}
72+
</style>

solutions/tutorial-10/10-2.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<p class="heading">
2+
Style sheet
3+
</p>
4+
<p class="note">
5+
Main article: <a href="">Style sheet (web development)</a>
6+
</p>
7+
<p class="description">
8+
A style sheet consists of a list of rules. Each rule or rule-set consists of one or more selectors, and a declaration block.
9+
</p>
10+
11+
<style>
12+
.heading {
13+
font-size: 19px;
14+
font-weight: bold;
15+
margin-bottom: 5px;
16+
}
17+
18+
.note {
19+
margin: 5px 0 10px 0;
20+
padding-left: 20px;
21+
font-style: italic;
22+
}
23+
24+
.description {
25+
margin: 0;
26+
}
27+
28+
a {
29+
color: royalblue;
30+
text-decoration: none;
31+
}
32+
33+
34+
</style>

solutions/tutorial-10/10-3.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<p class="title">
2+
Cascading Style Sheets (CSS)
3+
</p>
4+
<p class="description">
5+
<img src="../../assets/tutorial-10-images/img-1.png" class="css-logo">
6+
<br>
7+
The official logo of the latest version
8+
</p>
9+
10+
<style>
11+
.title {
12+
font-size: 20px;
13+
font-weight: bold;
14+
margin-bottom: 10px;
15+
margin-left: 10px;
16+
}
17+
18+
.css-logo {
19+
width: 100px;
20+
21+
margin: 0 0 10px 60px;
22+
}
23+
24+
.description {
25+
margin: 0;
26+
display: inline-block;
27+
border: 1px solid rgb(162, 169, 177);
28+
padding: 20px;
29+
background-color: rgb(248, 249, 250);
30+
}
31+
</style>

0 commit comments

Comments
 (0)