Random Color Component
Create a component that uses axios to GET a random color from the random color API and sets that component's background color to that random color. https://www.colr.org/json/color/random?timestamp=${new Date().getTime()}
Create a component that uses axios to GET a random color from the random color API and sets that component's background color to that random color. https://www.colr.org/json/color/random?timestamp=${new Date().getTime()}
Create this site in React (you can feel free to change the styling a little bit, but the layout should be similar) https://blackrockdigital.github.io/startbootstrap-clean-blog/ There two points to this exercise. #1: Using the App component to contain a few of the major components of the page. #2:
Build a simple react app with an input box, an
Given an array of indeterminate depth (dimensions), return a flattened version of the original array. function flatten(arr) { } let arr = [1, 2, [3]] flatten(arr) // returns [1, 2, 3]; let arr2 = ["hello", ["this", "is", ["a", "4 dimensional", ["array"]]]]; flatten(arr2) // returns ["hello", "this", "is", "a", "4 dimensional", "array"]; Hint This
Build a React app that displays a list of superheroes with their name and image. When any part of the superhero component (name or image) is clicked, that superhero's catchphrase should show up in an alert box on the screen.
Your app should use:
* a