Wikipedia Viewer Help With Div

Wikipedia Viewer Help With Div


Hi there,

I am having a bit of trouble with my Wikipedia viewer. It seems like my page creates a new div where my results appears after each search. The div should only appear once something is searched.

Any help would be appreciated.

Kind regards


If someone else has this problem, I’ve managed to solve it.

I realized that in my html, I targeted the CSS, meaning it created a div. All I did was, I removed the class from the html and targeted my CSSfrom my JavaScript.

Feel free to message me if you still can’t figure it out.