A Pen by ClaudiaInBytes on CodePen.
This file contains hidden or 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
| /* | |
| * Programming Quiz - Navigating the Food Chain (3-8) | |
| * | |
| * Use a series of ternary operator to set the category to one of the following: | |
| * - "herbivore" if an animal eats plants | |
| * - "carnivore" if an animal eats animals | |
| * - "omnivore" if an animal eats plants and animals | |
| * - undefined if an animal doesn't eat plants or animals | |
| * | |
| * Notes |
This file contains hidden or 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
| /* | |
| * Programming Quiz: What do I Wear? (3-7) | |
| */ | |
| // change the values of `shirtWidth`, `shirtLength`, and `shirtSleeve` to test your code | |
| var shirtWidth = 18; | |
| var shirtLength = 29; | |
| var shirtSleeve = 8.47; | |
| // your code goes here |
A Pen by ClaudiaInBytes on CodePen.
A Pen by ClaudiaInBytes on CodePen.
A Pen by ClaudiaInBytes on CodePen.
A Pen by ClaudiaInBytes on CodePen.
NewerOlder