Utilizing JS methods .filter() & .find():

Jess Haugen
2 min readApr 15, 2021

As a junior developer I am always on the hunt for ways to make my code more readable and efficient.

Earlier this week I started building a website that utilizes the open source National Parks API . I used the data to generate park information in the Pacific NW by region and activity. (We north westerners are big on our parks).

When I first started to build I realized that all of the parks did not hold the same number of keys and said keys definitely didn’t hold the same values. So how would I be able to access said named values…

--

--