-
Notifications
You must be signed in to change notification settings - Fork 1
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
Модуль 6 #7
Модуль 6 #7
Conversation
Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены). |
Как узнать где ошибка в коде, если в тестах следующая ошибка? ✖ Error while running the tests! Exit code: 1 Error: Process completed with exit code 1. |
Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены). |
1 similar comment
Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены). |
6-module/1-task/index.js
Outdated
#onMenuClick = (event) => { | ||
const row = event.target.closest('tr'); | ||
row.remove(); | ||
|
||
} |
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.
тут не хватает отступов
temp.innerHTML = this.#template(); | ||
this.elem = temp.firstElementChild; | ||
|
||
this.elem.addEventListener('click', this.#onMenuClick); |
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.
У тебя обработчик события, удаляет строчку если нажали куда-угодно, нужно учитывать, то что нажимать для удаления нужно только на кнопку <button class="remove-btn">X</button>
6-module/3-task/index.js
Outdated
const slideWidth = carouselInner.children[0].offsetWidth; | ||
carouselInner.style.transform = `translateX(-${currentSlide * slideWidth}px)`; |
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.
тут не хватает отступов
Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены). |
No description provided.