Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oleh_Rudko #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ closure is a record storing a function together with an environment.
**Read the guideline before start**

[Guideline](https://github.com/mate-academy/layout_task-guideline/blob/master/README.md)

[Demo link](https://gulldan1996.github.io/layout_enclosures/)
[Test report](https://gulldan1996.github.io/layout_enclosures/report/html_report/)
25 changes: 23 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport"
Expand All @@ -13,7 +13,28 @@
<link rel="stylesheet" href="./style.css">
</head>
<body>

<div class="border-1" id="qa-block">
<div class="border-2">
<p class="text">In programming languages, a closure is a
technique for implementing lexically scoped name binding in a
language with first-class functions. Operationally, a closure is
a record storing a function together with an environment.</p>
</div>
</div>
<div class="border-1">
<div class="border-2">
<p class="text">У програмуванні замиканням називають підпрограму,
що виконується в середовищі, яке містить одну або більше зв’язаних
змінних. Підпрограма має доступ до цих змінних під час виконання.</p>
</div>
</div>
<div class="border-1">
<div class="border-2">
<p class="text">Замыкание в программировании — функция первого класса,
в теле которой присутствуют ссылки на переменные, объявленные вне тела
этой функции в окружающем коде и не являющиеся её параметрами.</p>
</div>
</div>
<script type="text/javascript" src="./main.js"></script>
</body>
</html>
25 changes: 25 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
body {
margin: 0;
background-color: #000;
}

.border-1 {
width: 348px;
margin: 20px;
background-color: #308dc0;
border: 1px solid #e75551;
margin-bottom: 40px;
}

.border-2 {
margin: 10px;
background-color: orange;
border: 1px solid #e75551;
}

.text {
margin: 10px;
padding: 10px;
background-color: #ddd;
border: 1px solid #e75551;
}