Grocery Items

Task:

Create a simple HTML Page that list out 20 Grocery items using a for loop. Use <ul> for the items

Script that I used

script

Output:

Hey there! Here are 20 items that you need to purchase.
  • Milk
  • Butter
  • Eggs
  • Cheese
  • Bananas
  • Apples
  • Oranges
  • Lettuce
  • Tomatoes
  • Onion
  • Carrot
  • Cucumber
  • Chicken
  • Beef
  • Fish
  • Tofu
  • Pork
  • Bread
  • Rice
  • Noodles