Button | SoloLearn: Learn to code for FREE!



I want to make buttons which will display the definition of each animal, when clicked. How can I do it? https://code.sololearn.com/W17385wf5Yek/?ref=app

9/26/2017 8:45:27 AM


3 Answers

New Answer


Use details/summary tag <details> <summary>tiger</summary>The tiger is the largest cat species, most recognisable for their pattern of dark vertical stripes on reddish-orange fur with a lighter underside. </details> https://code.sololearn.com/WKBI8q4OafGE/?ref=app


javascript I imagine, although I'm sure theres some clever way to do it through css. I don't know web languages well at all so I hope someone else can give more specific advice.