-
Notifications
You must be signed in to change notification settings - Fork 40
Александра Лисицына М3335 #20
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
base: master
Are you sure you want to change the base?
Conversation
underoot
left a comment
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.
Прошу все-таки привести верстку к макету. Сейчас очень много несоответствий (по размерам, отступам, логотипу и т.п.)
node_modules и .idea следует убрать из системы контроля версий
После добавления писем, при открытии одного из них наблюдается такое:

Удаление сейчас по сути не работает, а анимации вовсе нет
| @@ -0,0 +1,4 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
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.
Настройки IDE лучше скрывать от Git
mail.html
Outdated
| <div class="menu"> | ||
| <div class="menu__button_write">Написать</div> | ||
| <div class="options"> | ||
| <div class="option options__option1">Входящие</div> |
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.
А зачем тебе класс options_optionN?
mail.html
Outdated
| </body> | ||
| </html> | ||
|
|
||
| <script> |
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.
Стоит унести в отдельный файл скрипт
mail.html
Outdated
| </html> | ||
|
|
||
| <script> | ||
| var button_write = document.getElementsByClassName('menu__button_write')[0]; |
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.
Есть 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);}) |
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.
Что здесь this и почему у него должен появиться parrentNode?
No description provided.