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 Respostas
+ 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 😅