You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This option meets all the requirements of the assignment. The page number input works flawlessly and returns the correct data.
What can be improved
When both the search term and the page number values are changed, the API is called twice. Add a setTimeout so the element will wait for both new values before starting the fetch.
Next steps
I think this is the code we should base our final element on. I think we'll create a new repo to add this code to and paste in the additional options. We'll then clone this new repo onto our local machines to work on the lab going forward.
The text was updated successfully, but these errors were encountered:
What worked well
This option meets all the requirements of the assignment. The page number input works flawlessly and returns the correct data.
What can be improved
When both the search term and the page number values are changed, the API is called twice. Add a setTimeout so the element will wait for both new values before starting the fetch.
Next steps
I think this is the code we should base our final element on. I think we'll create a new repo to add this code to and paste in the additional options. We'll then clone this new repo onto our local machines to work on the lab going forward.
The text was updated successfully, but these errors were encountered: