Read more read less button | Sololearn: Learn to code for FREE!

+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!!

10/25/2020 5:24:47 AM

ታዲዎስ

3 Answers

New Answer

+6

What that mean?? can you brief

+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".

+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 ...