Last active
December 6, 2021 17:14
-
-
Save Lucas-Masaba/41dfd83d7b69aa35098f9695c8c5b8a9 to your computer and use it in GitHub Desktop.
Testing if example 1 from the microverse exercise is dry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cat, .dog, .dragon { | |
font-family: "Times New Roman", Times, serif; | |
font-size: 1rem; | |
} | |
.cat { | |
color: #FFF; | |
} | |
.dog { | |
color: #000; | |
} | |
.dragon { | |
color: #009933; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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