chingu-voyages / v48-tier1-team-05

A dinosaur app for viewing detailed information about your favorite dinosaurs | Chingu Voyage-48 | https://chingu.io/
https://chingu-voyages.github.io/v48-tier1-team-05/
4 stars 0 forks source link

Refactor app.js #110

Closed terrifricker closed 5 months ago

terrifricker commented 5 months ago

Currently app,js contains two main functions: onSearch() and createTableData(). There is also a function for fetching the dinosaurs from the API in fetch.js.

Refactor app.js so that the dinosaurs are fetched using the code in fetch.js, then onSearch() and createTableData() are called on those dinosaurs.