What am i doing wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
27th Jan 2021, 12:33 AM
Fernando Aldridge
Fernando Aldridge - avatar
5 Answers
+ 1
I made changes to fix the code... 1) removing script tags as they are not required in an external js script 2) moved & added brackets (see changes for yourself as you need curly brackets after the function() https://code.sololearn.com/W95F76D6yzaW/?ref=app
27th Jan 2021, 12:39 AM
Ollie Q
Ollie Q - avatar
+ 3
Thank you Ollie Q
27th Jan 2021, 2:00 AM
Fernando Aldridge
Fernando Aldridge - avatar
+ 3
Sorry to bother you Ollie Q .. I was wondering how do i get the button class to work with the div class panel.? in order to make the accordion effect
5th Feb 2021, 7:25 AM
Fernando Aldridge
Fernando Aldridge - avatar
+ 1
5th Feb 2021, 8:09 PM
Ollie Q
Ollie Q - avatar
0
No problem
27th Jan 2021, 2:07 AM
Ollie Q
Ollie Q - avatar