MCPcopy Create free account
hub / github.com/codemistic/Web-Development / closeNav

Function closeNav

Trendy Landing Page using Glass Morphism CSS/main.js:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44// close nav menu
45const closeNav = () => {
46 menu.style.display = "none";
47 closeBtn.style.display = "none";
48 menuBtn.style.display = "inline-block";
49}
50
51closeBtn.addEventListener('click', closeNav)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected