const pets = ['Dog', 'Cat', 'Finches', 'Hamster', 'Squirrel', 'Betta Fish'];
 

pets.forEach(function(element){
  console.log(element);
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://codepen.io/nullobject/pen/cngzI.js