How can i add an animation to my dropdown menu?
How can I have the dropdown menu have animation and take 0.5 seconds to fully drop down?
I'm sorry, but I don't know. Have you considered moving your CSS and JS to separate files by using the link element and the script element:
<!DOCTYPE html> <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <script src="script.js"></script> </body> </html>