Question: Hey i am new to this JS and website development . Any hint for how to write the code for Add save changes, and delete
Hey i am new to this JS and website development . Any hint for how to write the code for Add save changes, and delete function on JS?
-
There shall be an add button underneath the last created question and a delete button
Pushing the add button - 1- updates the JSON stored in the localStorage
- 2- open a new blank question ( 5 textarea elements, one for question body and 4 for the choices and their radio buttons)
- Pushing the delete button
- 1- removes the last question from the screen
- 2- updates the JSON in the localStorage accordingly
Pushing the save button
updates the JSON in the localStorage based on the current data at current page ( reads the textareas and updates the JSON)
The admin can add as many as questions as they wish

What will the console log? let a = 50; console.log ( a +"+50") Answers 5050 O 50+50 100 o o 50 Add Save changes Deletei
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
