uisendy / Meal-webApp

A capstone Project on javascript.
MIT License
1 stars 0 forks source link

[3pt] - Add all items counter on the Homepage - Student A #6

Closed uisendy closed 2 years ago

uisendy commented 2 years ago

Even if the API gives you the number of items, you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Homepgae.

uisendy commented 2 years ago

Add all item counter on the homepage was done and created by doing the following,

  1. Creating a function to calculate the items obtained from the API using the .length method for calulating the number of items in a array.
  2. The Items was dynamically displayed on the DOM for each meal and the number of category.

The Preview is as indicated below.

the the particular meal - beef image

and for the total category image image

SurafelGetachewT commented 2 years ago

Hello @uisendy ,

You made our project complete, You did great here 1