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
| /* | |
| - Create a card UI similar to the image using HTML and CSS | |
| - It doesn't need to be an exact replica | |
| - You can use any name, photo, URL | |
| */ | |
| * { | |
| font-family: Arial, sans-serif; |
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
| // You have an array. | |
| // An item of the array has `name`, a string, and `types`, an array of strings. | |
| // The length of `types` in a record can be 1-99 (not always 1-2) | |
| // e.g. [{ name: "bulbasaur", types: ["grass", "poison"] }] | |
| const pokes = getPokes(); | |
| console.log("Pokes", pokes); | |
| // Problem 1: Filter by type | |
| // - Populate `answer1` with Pokemon names that contain the type string | |
| const type = "grass"; |