I've learned that a pure function is a function that doesn't alter global state, period. If this is true, functions within functions can alter the state of the
I used pure function to create wrapper for multiple HTML elements and don't understand how to insert JSON response API data into it. Can you help to create one