Read more read less button | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 10

Read more read less button 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 ответов
+ 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
+ 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