/Array_demo

A simple project to train on arrays and DOM and use an external API to get a random name and perform some operations on it

Primary LanguageJavaScript

Array_demo

Live demo >> https://lively-baklava-201f97.netlify.app

Fetch random users from the randomuser.me API

Use forEach() to loop and output user/wealth

Use map() to double wealth

Use filter() to filter only millionaires

Use sort() to sort by wealth

Use reduce() to add all wealth