Skip to content

Commit

Permalink
The gmail is created with html tailwindcss & js
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammednazim007 committed Apr 4, 2022
0 parents commit f7292c9
Show file tree
Hide file tree
Showing 1,191 changed files with 206,163 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
let aside_bar = document.querySelector(".aside_bar");
let bar_click = document.querySelector(".bar_click");
let icon_change = document.querySelector(".icon_change");
let mark_all_checkbox = document.querySelector(".mark_all_checkbox");
let show_icon = document.querySelector(".show_icon");
let preloader_custom = document.querySelector(".preloader_custom");

bar_click.addEventListener("click", () => {
icon_change.classList.toggle("fa-times");
aside_bar.classList.toggle("-ml-[60%]");
});

mark_all_checkbox.addEventListener("click", () => {
show_icon.classList.toggle("hidden");
});

// preloader
window.addEventListener("load", () => {
preloader_custom.classList.add("hidden");
});
Loading

0 comments on commit f7292c9

Please sign in to comment.