Drop down Questions and answers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Drop down Questions and answers

Im planning to create a page, which displays list of questions. If the user clicks the question,then answer need to be displayed. And if the user clicked another question, then the answer for new question should be displayed and the Answer for last question nee to be hidden. is there is any possible ways? I need solution with Html and JavaScript only....!! no jQuery or any other.

2nd Mar 2018, 11:24 AM
Hemath Kumar
Hemath Kumar - avatar
1 Answer
+ 3
lol......then we're making or you're ......? and yes there are many possible ways.........
3rd Mar 2018, 8:01 AM
STRIKER