How can I store the users selection? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I store the users selection?

https://code.sololearn.com/W2UwCzWNQ4dO/#html I don't think it's possible in Sololearn, but if I were to run this in the browser, how could I save my selection? Like, let's say I select the second option. Then I press a save button, or maybe it saves automatically(your choice) Then I close the browser Then I come back and the option is still selected

14th Aug 2018, 4:21 AM
Daniel Cooper
Daniel Cooper - avatar
5 Answers
14th Aug 2018, 4:54 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
You mean Clipboard?
14th Aug 2018, 10:06 AM
Email Not Activated
15th Aug 2018, 9:19 AM
Calviղ
Calviղ - avatar
0
Here the code from somebody else https://code.sololearn.com/Woa3CMw3nj3t/?ref=app
14th Aug 2018, 9:27 AM
Calviղ
Calviղ - avatar
0
Thanks Calviղ Ok, now how can I save the selection with a button. I tried it and it just broke the code xD
15th Aug 2018, 5:23 AM
Daniel Cooper
Daniel Cooper - avatar