Skip to content

Conversation

@sandrafox
Copy link

No description provided.

@underoot underoot self-assigned this Mar 18, 2019
Copy link

@underoot underoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Прошу все-таки привести верстку к макету. Сейчас очень много несоответствий (по размерам, отступам, логотипу и т.п.)

node_modules и .idea следует убрать из системы контроля версий

После добавления писем, при открытии одного из них наблюдается такое:
image

Удаление сейчас по сути не работает, а анимации вовсе нет

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Настройки IDE лучше скрывать от Git

mail.html Outdated
<div class="menu">
<div class="menu__button_write">Написать</div>
<div class="options">
<div class="option options__option1">Входящие</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем тебе класс options_optionN?

mail.html Outdated
</body>
</html>

<script>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Стоит унести в отдельный файл скрипт

mail.html Outdated
</html>

<script>
var button_write = document.getElementsByClassName('menu__button_write')[0];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Есть document.querySelector

mail.html Outdated
document.getElementsByClassName('letters')[0].insertBefore(newLetter, letters[0]);});
var letters = document.getElementsByClassName('letter');
for (var i = 0; i < letters.length; i++) {
letters[i].addEventListener("click", () => {this.parrentNode.removeChild(this);})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что здесь this и почему у него должен появиться parrentNode?

@underoot
Copy link

underoot commented Apr 5, 2019

🏓 @sandrafox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants