This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const toggleMenu = document.querySelector(".navigation button"); | |
const menu = document.querySelector(".navigation ul");; | |
toggleMenu.addEventListener("click", function () { | |
const open = JSON.parse(toggleMenu.getAttribute("aria-expanded")); | |
toggleMenu.setAttribute("aria-expanded", !open); | |
menu.hidden = !menu.hidden; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.outline { outline: 2px solid orangered; ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Examples</h2> | |
<div class="phblppppbbbbh"> | |
<div class="fsa-level fsa-level--align-top fsa-level--gutter-m"> | |
<div class="fsa-level__item--shrink-none"> | |
<img src="https://www.fillmurray.com/g/140/100" alt=""> | |
</div> | |
<div> | |
<h3 class="fsa-m-t--none">Temporibus exercitationem sequi cupiditate a excepturi nihil distinctio</h3> | |
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Repudiandae aperiam dolore provident ex ab |
OlderNewer