diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..b186b3ca Binary files /dev/null and b/.DS_Store differ diff --git a/lab1/assets/.DS_Store b/lab1/assets/.DS_Store new file mode 100644 index 00000000..26bee0ec Binary files /dev/null and b/lab1/assets/.DS_Store differ diff --git a/lab1/assets/images/styles/style.css b/lab1/assets/images/styles/style.css new file mode 100644 index 00000000..d0dfcb99 --- /dev/null +++ b/lab1/assets/images/styles/style.css @@ -0,0 +1,85 @@ +.text-box{ + color: #85a1b7; + background-color: #feb431; + max-width: 700px; +} + +.text-box__text{ + text-align: center; +} + +.image-block{ + position: relative; + width: 600px; + height: 400px; +} + +.image-block__image--back{ + width: 100%; + height: 100%; +} + +.image-block__image--front{ + position: absolute; + width: 100px; + height: 150px; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); +} + +.traffic-light{ + height: 260; + width: 100px; + background-color: black; + border-radius: 5px; + display: flex; + flex-direction: column; + align-items: center; + padding: 5px; +} + +.traffic-light__lamp{ + width: 70px; + height: 70px; + border-radius: 50%; + margin: 5px; +} + +.traffic-light__lamp--red{ + background-color: red; +} + +.traffic-light__lamp--yellow{ + background-color: yellow; +} + +.traffic-light__lamp--green{ + background-color: green; +} + +.maze { + display: inline-grid; + grid-template-columns: repeat(3, 100px); + grid-template-rows: repeat(3, 100px); +} + +.maze__cell { + background-color: rgb(105, 117, 145); +} + +.maze__cell--top { + border-top: 5px solid black; +} + +.maze__cell--bottom { + border-bottom: 5px solid black; +} + +.maze__cell--left { + border-left: 5px solid black; +} + +.maze__cell--right { + border-right: 5px solid black; +} \ No newline at end of file diff --git "a/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 1.jpg" "b/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 1.jpg" new file mode 100644 index 00000000..4b67518e Binary files /dev/null and "b/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 1.jpg" differ diff --git "a/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 2.jpg" "b/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 2.jpg" new file mode 100644 index 00000000..07582f61 Binary files /dev/null and "b/lab1/assets/images/\320\272\320\260\321\200\321\202\320\270\320\275\320\272\320\260 2.jpg" differ diff --git a/lab1/assets/styles/style.css b/lab1/assets/styles/style.css new file mode 100644 index 00000000..d0dfcb99 --- /dev/null +++ b/lab1/assets/styles/style.css @@ -0,0 +1,85 @@ +.text-box{ + color: #85a1b7; + background-color: #feb431; + max-width: 700px; +} + +.text-box__text{ + text-align: center; +} + +.image-block{ + position: relative; + width: 600px; + height: 400px; +} + +.image-block__image--back{ + width: 100%; + height: 100%; +} + +.image-block__image--front{ + position: absolute; + width: 100px; + height: 150px; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); +} + +.traffic-light{ + height: 260; + width: 100px; + background-color: black; + border-radius: 5px; + display: flex; + flex-direction: column; + align-items: center; + padding: 5px; +} + +.traffic-light__lamp{ + width: 70px; + height: 70px; + border-radius: 50%; + margin: 5px; +} + +.traffic-light__lamp--red{ + background-color: red; +} + +.traffic-light__lamp--yellow{ + background-color: yellow; +} + +.traffic-light__lamp--green{ + background-color: green; +} + +.maze { + display: inline-grid; + grid-template-columns: repeat(3, 100px); + grid-template-rows: repeat(3, 100px); +} + +.maze__cell { + background-color: rgb(105, 117, 145); +} + +.maze__cell--top { + border-top: 5px solid black; +} + +.maze__cell--bottom { + border-bottom: 5px solid black; +} + +.maze__cell--left { + border-left: 5px solid black; +} + +.maze__cell--right { + border-right: 5px solid black; +} \ No newline at end of file diff --git a/lab1/index.html b/lab1/index.html new file mode 100644 index 00000000..09dae7af --- /dev/null +++ b/lab1/index.html @@ -0,0 +1,53 @@ + + +
+ + ++ JavaScript (аббр. JS) — мультипарадигменный язык программирования. Поддерживает объектно-ориентированный, императивный и функциональный стили. Является реализацией спецификации ECMAScript (стандарт ECMA-262). + JavaScript обычно используется как встраиваемый язык для программного доступа к объектам приложений. Наиболее широкое применение находит в браузерах как язык сценариев для придания интерактивности веб-страницам. +
+
+
+ + Языки программирования — это инструменты, с помощью которых + разработчики создают программное обеспечение, веб-приложения, игры, + алгоритмы и многое другое. Каждый язык имеет свои особенности, + синтаксис и сферу применения. Ниже представлены некоторые из + наиболее известных языков: +
+ +
+