i need help make this part of js
https://www.coloniaverdenyc.com/menus
in this website how can i use this java script thing switch menu to dinner luanch brunch drinks
Menus
Explore our tantalizing menu featuring Latin American fare for dinner, lunch, brunch, and drinks.
16 Replies
,
anyone know >
?
most websites would use React and conditionally render the menu items with a state variable.
^^ and those are ways with JS only 👍🏽
tnx
i was looking this one but i dont know the name
can i ask something abotut css
this is i want
but this is happen
how i can make it 2 part like first photo"
google display grid
i should use grid?
can i use flex to or any grid
use grid with two columns
you could use flex as well
.parent {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(5, 1fr);
grid-column-gap: 5px;
grid-row-gap: px;
}
this good?
idk does it work?
yes
tnx
i forget about grid