+ 10

Read more read less button

https://code.sololearn.com/Wj06pKiqd7qa/?ref=app Pls HELP đŸ€™đŸ€™đŸ™đŸ™ SEE the Read More Button 1, When i clicked the read more button 1 the Article & Read more Button scroll down It work / i Want That/ . BUT, The 3rd & 4th Articles when i click the read more Button It scroll up and the read more button doesn't move or stay on the normal spot. THE 2nd Article & Button some time's scroll down some times fixed . đŸ€”đŸ€”why?? See the code!!

25th Oct 2020, 5:24 AM
ታá‹Čዎሔ
3 RĂ©ponses
+ 6
What that mean?? can you brief
25th Oct 2020, 6:18 AM
ታá‹Čዎሔ
+ 1
Code works fine here, each button behaves accordingly. That is, they expand the article when the title "Read More", and they collapse the article when the title "Read Less".
25th Oct 2020, 5:45 AM
Ipang
+ 1
I ran your code, and to me, it seems the buttons are doing their job as supposed to. When the button title is "Read More" it expands the article above the button. And when the button title is "Read Less" it collapses the article above it. I don't see any problem ...
25th Oct 2020, 9:35 AM
Ipang