I wanted to add a menu containing some options such as Home, Contacts etc. to this hoverable button, but I am unable to do so. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I wanted to add a menu containing some options such as Home, Contacts etc. to this hoverable button, but I am unable to do so.

I tried putting text inside the button, also declaring a separare .js function which gets invoked by onclick attribute, but that didn't work, Please help me out with this, Here's the code for the button. https://code.sololearn.com/WGVoTceA2WtE/?ref=app

5th May 2019, 8:07 AM
Hrithik Muskan
Hrithik Muskan - avatar
2 Answers
+ 1
Is this menu laid out vertically or horizontally ?. You should also try adding the text first, and then share it so we can see what went wrong
5th May 2019, 9:35 AM
Dlite
Dlite - avatar
0
D'Lite I just want the menu to be there in any alignment. Actually I am not able to figure about exactly how to add the text/menu. My attempts were just worth nothing to be shown.
5th May 2019, 10:37 AM
Hrithik Muskan
Hrithik Muskan - avatar