I am a bit of a newbie in JS and not too sure what I'm doing.
I have created a button
<div id="btn">
<a href='dg-quiz-maker.js' class='button'>ATTEMPT A QUIZ</a>
</div>
I want when the user presses the button, the JS dg-quiz-makes.js file appears. I'm not sure how to I do it. Please help.
buttons here. That is a<div>and a nested<a>hrefshould do that.. Make sure the file "dg-quiz-maker.js" is in the same location/folder where you have the code file.