Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added lab1/imgs/cat1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lab1/imgs/cat2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions lab1/lab1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.border-top {
border-top: 3px solid #000000;
}

.border-right {
border-right: 3px solid #000000;
}

.border-bottom {
border-bottom: 3px solid #000000;
}

.border-left {
border-left: 3px solid #000000;
}

.traffic-light__circles {
height: 100px;
width: 100px;
border-radius: 100%;
}

.js-des {
background-color: #D490C1;
}

.js-des p {
color: #60E41D;
text-align: center;
}

.imgs {
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}

.imgs__big-cat {
max-width: 100%;
}

.imgs__small-img {
position: absolute;
}

.traffic-light {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
align-items: center;
background-color: #000000;
width: 150px;
padding: 10px 0 10px 0;
margin-bottom: 20px;
}

.traffic-light__light--red {
background-color: #ff0000;
}

.traffic-light__light--yellow {
background-color: #eeff00;
}

.traffic-light__light--green {
background-color: #3cff00;
}

.maze {
display: grid;
grid-template-columns: repeat(3, 150px);
grid-template-rows: repeat(3, 150px);
gap: 10px;
background: #0000003b;
padding: 10px;
width: fit-content;
}

.maze__cell {
background: #ffffff;
}
40 changes: 40 additions & 0 deletions lab1/lab1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="lab1.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab1</title>
</head>
<body>
<div class="js-des">
<p>JavaScript (аббр. JS) — мультипарадигменный язык программирования. Поддерживает объектно-ориентированный, императивный и функциональный стили. Является реализацией спецификации ECMAScript (стандарт ECMA-262). <br> JavaScript обычно используется как встраиваемый язык для программного доступа к объектам приложений. Наиболее широкое применение находит в браузерах как язык сценариев для придания интерактивности веб-страницам.</p>
</div>

<div class="imgs">
<img src="imgs/cat1.jpg" alt="" class="imgs__big-cat">
<div class="imgs__small-img">
<img src="imgs/cat2.jpg" alt="">
</div>
</div>

<div class="traffic-light">
<div class="traffic-light__light--red traffic-light__circles"></div>
<div class="traffic-light__light--yellow traffic-light__circles"></div>
<div class="traffic-light__light--green traffic-light__circles"></div>
</div>

<div class="maze">
<div class="maze__cell border-left border-right"></div>
<div class="maze__cell border-left border-top"></div>
<div class="maze__cell border-top border-right"></div>
<div class="maze__cell border-left border-bottom"></div>
<div class="maze__cell border-bottom border-right"></div>
<div class="maze__cell border-left border-right"></div>
<div class="maze__cell border-left border-top border-bottom"></div>
<div class="maze__cell border-top border-bottom"></div>
<div class="maze__cell border-right border-bottom"></div>
</div>

</body>
</html>
Binary file added lab2/imgs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions lab2/lab2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.sport-list__item {
transition: all 2s;
cursor: pointer;
list-style: none;
line-height: 1.5;
}

.sport-list__item:hover {
color: rgb(255, 238, 0);
}

.parent > div {
padding: 15px;
}

.parent-1 > div {
color: red;
}

.parent-1 + .parent-3 > h1, .parent-1 + .parent-3 > div {
color: black;
}

.parent-2 > h1 {
color: orange;
}

.parent-2__child > span {
color: #b4005a;
border: 5px orange dotted;
padding: 5px;
}

.parent-3 > div, .parent-3 > h1 {
color: green;
}

.parent-3 > .parent-2__child > span {
border: none;
color: purple;
padding: 0;
}

.progr-langs__list::after {
display: block;
content: "";
background-image: url(./imgs/logo.png);
background-size: cover;
width: 200px;
height: 100px;
}

.progr-langs__list__item > a {
text-decoration: none;
color: #000;
font-weight: bold;
}

.progr-langs__list__item > a::before {
content: "🌐";
}
59 changes: 59 additions & 0 deletions lab2/lab2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="lab2.css">
<title>Lab2</title>
</head>
<body>
<ul class="sport-list">
<li class="sport-list__item">Netflix</li>
<li class="sport-list__item">YouTube Premium</li>
<li class="sport-list__item">Spotify</li>
<li class="sport-list__item">Disney+</li>
<li class="sport-list__item">Twitch</li>
</ul>

<div class="parent parent-1">
<h1>Parent 1</h1>
<div class="parent-1__child">Child 1</div>
<div class="parent-1__child">Child 2</div>
<div class="parent-1__child">Child 3</div>
<div class="parent-1__child">Child 4</div>
</div>
<div class="parent parent-3">
<h1>Parent 3</h1>
<div class="parent-3__child">Child 1</div>
<div class="parent-3__child">Child 2</div>
</div>
<div class="parent parent-2">
<h1>Parent 2</h1>
<div class="parent-2__child"><span>Child 1</span></div>
<div class="parent-2__child"><span>Child 2</span></div>
</div>
<div class="parent parent-3">
<h1>Parent 3</h1>
<div class="parent-3__child">Child 1</div>
<div class="parent-3__child">Child 2</div>
<div class="parent-2__child"><span>Child 2</span></div>
</div>

<div class="progr-langs">
<p class="progr-langs__text">Языки программирования — это инструменты, с помощью которых разработчики создают программное обеспечение, веб-приложения, игры, алгоритмы и многое другое. Каждый язык имеет свои особенности, синтаксис и сферу применения. Ниже представлены некоторые из наиболее известных языков:</p>
<ul class="progr-langs__list">
<li class="progr-langs__list__item"><a href="#">Python</a> – высокоуровневый язык с простым синтаксисом, популярный в Data Science, веб-разработке и автоматизации.</li>
<li class="progr-langs__list__item"><a href="#">JavaScript</a> – основной язык для фронтенд-разработки, работает в браузерах и на сервере (Node.js).</li>
<li class="progr-langs__list__item"><a href="#">Java</a> – объектно-ориентированный язык, широко используется в корпоративных приложениях и Android-разработке.</li>
<li class="progr-langs__list__item"><a href="#">C++</a> – мощный язык для системного программирования, игр и высокопроизводительных приложений.</li>
<li class="progr-langs__list__item"><a href="#">C#</a> – язык от Microsoft, применяется в разработке под Windows, играх (Unity) и веб-приложениях.</li>
<li class="progr-langs__list__item"><a href="#">Go</a> (Golang) – созданный Google, язык для высоконагруженных сетевых сервисов и облачных технологий.</li>
<li class="progr-langs__list__item"><a href="#">Ruby</a> – известен благодаря фреймворку Ruby on Rails для веб-разработки.</li>
<li class="progr-langs__list__item"><a href="#">Swift</a> – язык Apple для разработки под iOS и macOS.</li>
<li class="progr-langs__list__item"><a href="#">Kotlin</a> – современный язык, официально поддерживаемый для Android-разработки</li>
<li class="progr-langs__list__item"><a href="#">Rust</a> – язык системного программирования с акцентом на безопасность и производительность.</li>
</ul>
<p class="progr-langs__text">Это лишь малая часть из множества существующих языков, и выбор зависит от задач, которые нужно решить.</p>
</div>
</body>
</html>
Binary file added lab3/imgs/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lab3/imgs/github-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 123 additions & 0 deletions lab3/lab3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
body {
margin: 0 auto;
color: #ffffff;
}

.section {
display: flex;
align-items: center;
flex-direction: column;
width: 100%;
min-height: 100%;
padding: 30px 0 30px 0;
background: linear-gradient(to bottom, #2e3c57, #0d1529);
}

.section__avatar {
height: 250px;
width: 250px;
border-radius: 50%;
content: url(./imgs/avatar.png);
object-fit: cover;
background: #ffffff;
box-shadow: 0px 13px 19px 12px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
}

.section__name {
font-size: 50px;
font-weight: 900;
margin-bottom: 5px;
}

.section__date {
color: #d8d8d8;
font-size: 40px;
font-weight: 500;
margin-bottom: 30px;
}

.section__about-title {
color: #ffffff;
font-size: 50px;
font-weight: 900;
}

.section__about-text {
color: #d8d8d8;
font-size: 40px;
font-weight: 500;
margin-bottom: 30px;
}

.section__socials-title {
color: #ffffff;
font-size: 50px;
font-weight: 900;
margin-bottom: 30px;
}

.section__socials-objs {
display: flex;
background: #ffffff;
height: 150px;
width: 150px;
margin-bottom: 50px;
border-radius: 50%;
justify-content: center;
align-items: center;
box-shadow: 0px 13px 19px 12px rgba(0, 0, 0, 0.2);
}

.section__socials-objs img {
height: 80px;
}

.section__hobies {
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
}

.section__hobbies__title {
color: #eef5ff;
font-size: 40px;
font-weight: 900;
margin-bottom: 30px;
padding-top: 20px;
}

.section__hobbies__objs {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
row-gap: 20px;
column-gap: 100px;
width: 100%;
justify-items: center;
}

.section__hobbies__objs__el {
display: flex;
align-items: center;
flex-direction: column;
gap: 5px;
height: 140px;
width: 270px;
border-radius: 30px;
box-shadow: 0px 13px 19px 12px rgba(0, 0, 0, 0.2);
background: #fff;
padding-top: 10px;
}

.section__hobbies__objs__el img {
height: 100px;
width: 100px;
}

.section__hobbies__objs__el span {
color: #000000;
font-size: 20px;
font-weight: 900;
}
Loading