Skip to content

Commit 8e4adfd

Browse files
committed
[PRACT-18.5/ret] Add "final-img"
Add "final-view" img. Worth noting: - that this is a realization of the "Lionic" web page. core: B-2 / WL-BL
1 parent 311c427 commit 8e4adfd

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

core-courses/2-web-layout-basic-level/18_Animation/18_5_Ready-made_solutions/README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,6 @@ project-root/
6161

6262
- Логика бургер-меню для мобильных устройств.
6363

64-
```js
65-
// burger menu / mobile
66-
let burger = document.querySelector(".burger");
67-
let menu = document.querySelector(".header__nav");
68-
let menuLinks = menu.querySelectorAll(".nav__link");
69-
70-
burger.addEventListener("click", function () {
71-
burger.classList.toggle("burger_active");
72-
menu.classList.toggle("header__nav_active");
73-
document.body.classList.toggle("stop-scroll");
74-
});
75-
76-
menuLinks.forEach(function (el) {
77-
el.addEventListener("click", function () {
78-
burger.classList.remove("burger_active");
79-
menu.classList.remove("header__nav_active");
80-
document.body.classList.remove("stop-scroll");
81-
});
82-
});
83-
```
84-
8564
---
8665

8766
### Заключение
349 KB
Loading

0 commit comments

Comments
 (0)