Skip to content

Instantly share code, notes, and snippets.

@Lucas-Masaba
Last active December 6, 2021 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lucas-Masaba/41dfd83d7b69aa35098f9695c8c5b8a9 to your computer and use it in GitHub Desktop.
Save Lucas-Masaba/41dfd83d7b69aa35098f9695c8c5b8a9 to your computer and use it in GitHub Desktop.
Testing if example 1 from the microverse exercise is dry
.cat, .dog, .dragon {
font-family: "Times New Roman", Times, serif;
font-size: 1rem;
}
.cat {
color: #FFF;
}
.dog {
color: #000;
}
.dragon {
color: #009933;
}
const pets = ['Cat', 'Dog', 'Bird', 'Fish', 'Frog', 'Hamster', 'Pig', 'Horse' 'Lion', 'Dragon'];
// Print all pets
pets.forEach((pet) => console.log(pet))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment