Create for to add and edit data to JS file
$30-250 USD
Pagado a la entrega
I have a phone app that gets its information from a JS file. I'd like you to create a form that will add and edit data in the JS file so I don't have to do it manually.
The JS file is attached. There are 3 types (var) of information in the file: 1) trivia 2) iq 3) audio
At first I should have a choice to edit or add to one of these 3. Here are the following variables that need to be added when creating a new entry (with notes and samples):
1) trivia:
{
questionText:"Who is the president of the United States?'",
For some reason my description got cut off - here is a continuation.
1) trivia:
{
questionText:"Who is the president of the United States?'", <--- QUESTION
fontSize:".8em", <---- Font Size (The default should be 8 - but there should be a choice between 5 - 9em)
answers:[
"George Bush", <---- Choice A
"Hillary Clinton", <----- Choice B
"Will Smith", <---- Choice C
"Barack Obama" <---- Choice D
],
weights:[ <----- SCORE
3, <---- Score for Choice A (Default is 0 -- should have choice between 0 - 10)
3, <---- Score for Choice B (Default is 0 -- should have choice between 0 - 10)
1, <---- Score for Choice C (Default is 0 -- should have choice between 0 - 10)
10 <---- Score for Choice D (Default is 0 -- should have choice between 0 - 10)
],
diffulty:1, <---- Question Difficulty (Default is 1 - should have choice between 1 - 3)
answered:false, <---- (Don't need to edit -- but needs to be added to each new entry)
answer:0 <---- (Don't need to edit -- but needs to be added to each new entry)
},
2) iq
(SAME VARIABLES AS #1)
3) audio
{
questionText:"Speak the following phrase: Prince Charles is a nerd", <--- AUDIO TEXT - NEED TO BE ABLE TO ADD EDIT
answered:false, <---- (Don't need to edit -- but needs to be added to each new entry)
answerCount:"0", (Don't need to edit -- but needs to be added to each new entry)
answer:0 (Don't need to edit -- but needs to be added to each new entry)
},
Nº del proyecto: #4805061
Sobre el proyecto
Adjudicado a:
Hi, I am a JavaScript and PHP programmer.I can do this job perfectly as per your need and available now. Please look at my message. thanks,praveen