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
NIMA
NIMA8mo ago
, anyone know > ?
missymae
missymae8mo ago
most websites would use React and conditionally render the menu items with a state variable.
Shane
Shane8mo ago
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
missymae
missymae8mo ago
^^ and those are ways with JS only 👍🏽
NIMA
NIMA8mo ago
tnx i was looking this one but i dont know the name can i ask something abotut css
NIMA
NIMA8mo ago
this is i want
NIMA
NIMA8mo ago
but this is happen how i can make it 2 part like first photo"
Shane
Shane8mo ago
google display grid
NIMA
NIMA8mo ago
i should use grid? can i use flex to or any grid
Shane
Shane8mo ago
use grid with two columns you could use flex as well
NIMA
NIMA8mo ago
.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?
Shane
Shane8mo ago
idk does it work?
NIMA
NIMA8mo ago
yes tnx i forget about grid
Want results from more Discord servers?
Add your server