Wikipedia Viewer Help With Div

Wikipedia Viewer Help With Div
0

#1

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


#2

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.

Regards