Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633012 Views

Latest files of /cody/atherosai/ui/menu-01

close.svg cody/atherosai/ui/menu-01/close.svg
129 Views
0 Comments
Media file
burger-menu.svg cody/atherosai/ui/menu-01/burger-menu.svg
168 Views
0 Comments
Media file
style.css cody/atherosai/ui/menu-01/style.css
93 Views
0 Comments

@import url('https://fonts.googleapis.com/css2?family=Mulish&display=swap');

:root {
--primary: #DD946F ;
--primary-hover: #CD7D7C;
--secondary: #EFD0F8;
--secondary-hover: #B8A1D9;
universe.jpg cody/atherosai/ui/menu-01/universe.jpg
95 Views
0 Comments
Media file
index.html cody/atherosai/ui/menu-01/index.html
362 Views
0 Comments


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Menu Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
atheros_learning_logo.png cody/atherosai/ui/menu-01/atheros_learning_logo.png
134 Views
0 Comments
Media file
script.js cody/atherosai/ui/menu-01/script.js
162 Views
0 Comments

const toggleMenu = () => {
const burgerMenu = document.querySelector(".menu-icon");
const src = burgerMenu.getAttribute('src');
const iconName = src === 'burger-menu.svg' ?
'close.svg'
:
'burger-menu.svg';