Noob question about Javascript

If you want to map the variables easier, I suggest using an object instead.

To do this, change the array square brackets [ ] around the return statement into curly brackets like this { }

e.g.:

Screenshot_2024-08-29_220835

Example Output

Screenshot_2024-08-29_220859

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!