How can I move text section when I click button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I move text section when I click button

I want the text section to move down when I click on button, and when that drop down menu is off then I want text section to go back back in initial position https://code.sololearn.com/WH4l0kOTMl0D/?ref=app

8th May 2020, 12:22 PM
Tanish Bhardwaj
Tanish Bhardwaj - avatar
3 Answers
+ 1
Hey there :)) Check the corrected code : https://code.sololearn.com/WzlrWYJrcDbw/?ref=app
8th May 2020, 12:54 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
Hey
8th May 2020, 2:44 PM
Tanish Bhardwaj
Tanish Bhardwaj - avatar
0
Hey, I learnt something new from you, but the thing is I wanted the class="textsection" to move down when the menu is open, so that the content in class="textsection can be seen when menu opens, such that textsection move downwards when menu is opened, when I close menu textsection should move back to its position.
8th May 2020, 2:47 PM
Tanish Bhardwaj
Tanish Bhardwaj - avatar