i made this list below of four different paragraph that gets its value from a nested Array that iterates over values of option[0} option [1] …ect , i want to re-write this code using the map method it will be in one line , appreciate your help
The above logic demonstrates how you might start. You have an array of questions and within each question it seems you have an array of options. So you might need to create a map…within a map.
Hopefully nobody here will write your code for you, you won’t learn anything I’d they do. But @nivethakrishnan72 gave you some great guidance.