Skip to content

Commit

Permalink
End Project
Browse files Browse the repository at this point in the history
  • Loading branch information
parsfront committed Jul 7, 2022
1 parent 56238d8 commit 7f6c45d
Show file tree
Hide file tree
Showing 11 changed files with 2,710 additions and 412 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/webdesign/دوره materialize css.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,363 changes: 1,346 additions & 17 deletions index.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
const hamburger = document.querySelector(".hamburger-menu");
const responsiveMenu = document.querySelector(".navbar-responsive");
const overlay = document.querySelector(".overlay");
const close = document.querySelector(".close");
const submenu = document.querySelectorAll(".submenu");

submenu.forEach((item) => {
item.addEventListener("click", function () {
item.classList.toggle("show-iconview");
const mega = item.nextElementSibling;
mega.classList.toggle("show-megamenu");
});
});

hamburger.addEventListener("click", function () {
responsiveMenu.classList.add("active");
overlay.classList.add("show");
});

close.addEventListener("click", function () {
closeNavbar();
});

overlay.addEventListener("click", function () {
closeNavbar();
});

function closeNavbar() {
responsiveMenu.classList.remove("active");
overlay.classList.remove("show");
}
8 changes: 8 additions & 0 deletions js/jquery.counterup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions js/jquery.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions js/jquery.waypoints.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions js/owl.carousel.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 7f6c45d

Please sign in to comment.