cody - HTMLify profile

cody
4270 Files
632980 Views
Latest files of /cody/atherosai/ui/dropdown-menu-02
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display&display=swap');
:root {
--primary: #625BFE;
--important: #F55E5E;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dropdown Menu 02</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dropdown Menu 02</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
const notifications = document.querySelector('.notifications');
const dropdown = document.querySelector('.dropdown__wrapper');
notifications.addEventListener('click', () => {
dropdown.classList.remove('none');
dropdown.classList.toggle('hide');
})