Skip to content

Instantly share code, notes, and snippets.

View iLynette's full-sized avatar
👩‍💻
Working from home

Lynette Acholah iLynette

👩‍💻
Working from home
View GitHub Profile
@iLynette
iLynette / example1
Created February 21, 2022 12:53
DRY exercise
const pets = ['Cat', 'Dog', 'Bird', 'Fish', 'Frog', 'Hamster', 'Pig', 'Horse', 'Lion', 'Dragon'];
// Print all pets
console.log(pets[0]);
console.log(pets[1]);
console.log(pets[2]);
console.log(pets[3]);
...
//css