-
Notifications
You must be signed in to change notification settings - Fork 510
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
First commit for review #676
Open
MykolaButylkov
wants to merge
4
commits into
mate-academy:master
Choose a base branch
from
MykolaButylkov:develop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ node_modules | |
# Generated files | ||
backstop_data | ||
dist | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,43 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Enclosures</title> | ||
<link rel="stylesheet" href="./style.css"> | ||
</head> | ||
<body> | ||
<h1>Enclosures</h1> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Enclosures</title> | ||
<link rel="stylesheet" href="./style.css"> | ||
</head> | ||
|
||
<body> | ||
<div id="qa-block" class="biggestBox"> | ||
<div class="middleBox"> | ||
<div class="first"> | ||
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. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="biggestBox"> | ||
<div class="middleBox"> | ||
<div class="second"> | ||
У програмуванні замиканням називають підпрограму, що виконується в середовищі, | ||
яке містить одну або більше зв’язаних змінних. Підпрограма має доступ до цих | ||
змінних під час виконання. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="biggestBox"> | ||
<div class="middleBox"> | ||
<div class="third"> | ||
Замыкание в программировании — функция первого класса, в теле которой | ||
присутствуют ссылки на переменные, объявленные вне тела этой функции в | ||
окружающем коде и не являющиеся её параметрами. | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
body { | ||
background-color: #000; | ||
padding: 0 12px; | ||
} | ||
|
||
.first, | ||
.third, | ||
.second { | ||
/* box-sizing: border-box; */ | ||
background-color: #ddd; | ||
border: 1px solid #e95d49; | ||
padding: 10px; | ||
margin: 0; | ||
} | ||
|
||
.middleBox { | ||
box-sizing: border-box; | ||
background-color: #ffa500; | ||
padding: 10px; | ||
border: 1px solid #e95d49; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You have same border and padding styles in three places. |
||
} | ||
|
||
.biggestBox { | ||
box-sizing: border-box; | ||
background-color: #308dc0; | ||
width: 350px; | ||
margin: 20px 0; | ||
margin-bottom: 40px; | ||
padding: 10px; | ||
border: 1px solid #e95d49; | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First - don't leave commented code.
Second - you don't need to create three separate classes here, it can be just one class.