0
How to create new content on button on click in JavaScript?
Hello, Iām not very good at asking questions but Iād like to ask how to make new page content when a button is clicked. I know you donāt always do this by linking to a new page. For example... Page 1 - question 1 User clicks button Page 2 - Another page appears with question 2 A lot of people do this in SL and obviously they canāt link to a file page in code playground, how do I achieve this?
6 Answers
+ 7
Simple demo of Single-paged app:
https://code.sololearn.com/W80l0huYVkI5/?ref=app
Full tutorial of a Quiz app (2 hour) :
https://youtu.be/vv5kIqCD45c
+ 3
Gordon Go to setup this microphone...
https://www.sololearn.com/post/416297/?ref=app
(Located at right bottom corner there)
+ 2
Gordon wow 2 hours tutorial video, masterpiece š
+ 1
CalviÕ² wow
0
Gordon Thanks, but Im pretty bad at Javascript. Could you explain each part of the JS so I can do it accordingly? I wouldnt like to go through a 2 hour tutorial, thank you.
0
Hira Ali ā¤
In this case, you can refer to the short demo code.
CalviÕ² Just soso š
I failed a import data.js in the middle and the sound is not good š