Easily generate the css, javascript and html code for your menu by selecting options:
and then it wil generate the code for you to copy and paste
This is free so just header over to https://menumaker.tdbtools.com and enjoy!