card three page
This commit is contained in:
@ -7,7 +7,11 @@ const cards = [
|
||||
{
|
||||
title: "card two",
|
||||
href: "/card-two/"
|
||||
}
|
||||
},
|
||||
{
|
||||
title: "card three",
|
||||
href: "/card-three/"
|
||||
}
|
||||
]
|
||||
|
||||
const constructMenuLink = function(title, href) {
|
||||
@ -76,7 +80,7 @@ const firstDropdownItem = dropdownItems[0];
|
||||
const lastDropdownItem = dropdownItems[dropdownItems.length - 1];
|
||||
|
||||
const openDropdown = function() {
|
||||
dropdownContent.classList.add("show");
|
||||
dropdownContent.classList.add("show");
|
||||
dropdownContent.setAttribute("aria-hidden", "false");
|
||||
dropdownButton.setAttribute("aria-expanded", "true");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user