You are mapping answers and then in your code you have input.answer from the start.
Just put Array.from(input)
You are mapping answers and then in your code you have input.answer from the start.
Just put Array.from(input)
Hi do you have any tutorials on how to implement nad use makes built in functions more specifically using if to check the condition a variable etc?
Hi @AdamZ
You could follow the Foundation and Basics courses of the Make Academy, and more specifically the course that talks about Make Functions: Transforming Data using functions.
It focuses on using functions to transform data in mappings, but the same principles can be used to compare values in filters, or the use the “if” “switch”, … functions.
Benjamin