+ 4

know correct values via javascript

Hey everyone, how i can know which value are correct answer from local storage via javascript code ? *i’m user not admin* https://code.sololearn.com/W747z8Jz5Aw8/?ref=app

15th Nov 2020, 11:35 AM
Ahmed Serageldin Moustafa
Ahmed Serageldin Moustafa - avatar
8 ответов
+ 7
https://code.sololearn.com/We2DwWDDb38h/?ref=app explanation is inside of the code do you want the more detialed explanation than that explained in the comment?☺. I mean the detailed working of each and every identifiers that used in the js code if Yes then DM☺
15th Nov 2020, 12:46 PM
Kelvin Paul
Kelvin Paul - avatar
15th Nov 2020, 1:55 PM
Kelvin Paul
Kelvin Paul - avatar
+ 3
Did you mean storing answers Browser's localStorage using JavaScript
15th Nov 2020, 2:02 PM
Kelvin Paul
Kelvin Paul - avatar
+ 2
can i get corrent value from local stoage ?
15th Nov 2020, 2:01 PM
Ahmed Serageldin Moustafa
Ahmed Serageldin Moustafa - avatar
+ 2
yes, i want to know corrnet value before i submet
15th Nov 2020, 2:04 PM
Ahmed Serageldin Moustafa
Ahmed Serageldin Moustafa - avatar
+ 2
Bro create an array Like answer= [0,3,2,6] Each index represent each question. Value means, the position of the correct answer I mean answer [3] //6 Means 4th question and the 6th option is the correct answer. Just a suggestion ☺
15th Nov 2020, 2:08 PM
Kelvin Paul
Kelvin Paul - avatar
0
You don't even have any javascript code so how is the question related to localStorage? I don't think i understand your question
16th Nov 2020, 1:15 AM
Bhavya
Bhavya - avatar
0
Bhavya it’s an example for google forms that you want to know the answers, do you think we have accese for this?
16th Nov 2020, 5:41 AM
Ahmed Serageldin Moustafa
Ahmed Serageldin Moustafa - avatar