How can I clear/hide elements when a button is clicked, then make something else appear?
DracoMagnus

How do I do this successfully?

You are viewing a single comment. View All
Coder100

Using js, you can do something like this:

DracoMagnus

will it reset when the page is refreshed, @Coder100? also there's 3 different buttons you can hit, I would like each to work correctly.

Coder100

It will reset.
Maybe consider using links to different sites @DracoMagnus

DracoMagnus

what do you mean "different sites" @Coder100

Coder100

Like a link to a new html page @DracoMagnus

DracoMagnus

uhh, well this if for a school project, @Coder100. I'm trying to make a quiz page with JS arrays where it picks a random string(question) from the array and displays it and four options... but I need difficulty levels, too I think

DracoMagnus

any tips on how to do that, @Coder100?