This repo is a completed Cloverhound Software Developer Interview Challenge.
It is a working web page using React to get the data from an API endpoint and display the result.
- Using at least two function components (not including the one provided), create a form with React that will allow a user to enter their name and click a button to submit the form.
- When the form is submitted, use jQuery to make a network request to Agify.io (find the URL structure here) with the name the user entered.
- Parse the response from the endpoint and display the predicted age of the user.
- Keep track of the predicted ages for each name so you only have to make a request once for each name.
- The final version should be on a branch named
final
.
Open the index.html file in a browser.