How to write a script to accordion?

The point is that the animation smoothly, which was shown by the method of toggleSlide. And to clicking ? appeared and disappeared only associated with p
https://jsfiddle.net/Concencuc/wp7nhq9o/7/
Thanks in advance for the answer:)
March 19th 20 at 08:33
1 answer
March 19th 20 at 08:35
Solution
Good evening.
So?
Good, almost. But how can such an analog be implemented?
https://www.w3schools.com/jquery/tryit.asp?filenam... - Brody.Gorczany commented on March 19th 20 at 08:38
@Brody.Gorczany, well, You already have the code! Change classes, the parameters for yourself. - frieda.Magg commented on March 19th 20 at 08:41
@Brody.Gorczany, only it is necessary to elaborate.
https://jsfiddle.net/0n3s2h4o/1/ - frieda.Magg commented on March 19th 20 at 08:44
@frieda.Magg, the Problem is that I have an error says..
$(...).next(...).slideToggle is not a function - Brody.Gorczany commented on March 19th 20 at 08:47
@Brody.Gorczany, depending on how You wrote, perhaps made a mistake somewhere. - frieda.Magg commented on March 19th 20 at 08:50

Find more questions by tags jQuery