[SOLVED] Need Help with Wikipedia Viewer Reset Button


I have everything else setup except for the reset button that would clear the results so one could start again without having to refresh the page. Here’s my pen link: Wikipedia Viewer. Thanks in advance.


Could you use removeChild() on each child element of your parent node that holds the results?


I used remove() and it worked! Thanks.