How do i implement a drop down menu?
So, below the button "projects", I tried to create a drop down menu based on the display and hover function, but it doesn't work. How do I make it so that when i click or hover on the button "Projects", the two links below appear?
Make a div with a class dropdown with a button and some items inside it:
Use the :focus-within pseudo-class to detect button clicks in CSS: