How can I make a read more and read less button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I make a read more and read less button?

I got issues from Mitali's video in YouTube: If you click the button the third time it doesn't work. It only shows "Read Less" if you click it. It doesn't change its text in the button. That's why I made this instead. https://code.sololearn.com/W52THRu8npSc/?ref=app

29th Nov 2018, 2:23 PM
A Google User
A Google User - avatar
2 Answers
+ 4
https://www.w3schools.com/howto/howto_js_read_more.asp
29th Nov 2018, 2:29 PM
Rstar
Rstar - avatar
+ 1
Still not correct. The button is not shown
29th Nov 2018, 2:34 PM
A Google User
A Google User - avatar