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?
7 RĂ©ponses
+ 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 đ