From f6502dbb23dc78c1e4eb760ab2e4a53128b9e18e Mon Sep 17 00:00:00 2001 From: Travis Rollins Date: Sun, 17 Mar 2024 20:53:26 -0700 Subject: [PATCH] Remove note about prototype methods and clarify start method in iteration 3 in flash cards project --- projects/module-2/flash-cards.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/module-2/flash-cards.md b/projects/module-2/flash-cards.md index 5187d1ab..2205f497 100644 --- a/projects/module-2/flash-cards.md +++ b/projects/module-2/flash-cards.md @@ -175,8 +175,7 @@ As you may have noticed, your `game` file has two functions fleshed out already: - Your `game` should meet these other requirements: - `start()`: the function that starts everything - * Creates `cards` - * Puts `cards` in a `deck` + * Passes `prototypeQuestions` into a `deck` * Creates a new `round` using the `deck` * Invokes `printMessage(deck)` to display the message in the CLI * Invokes `printQuestion(round)` to kick off our helper functions that allow interaction via the CLI @@ -250,7 +249,6 @@ For the rubric sections below, you will be scored as **Wow**, **Yes** or **Not Y On track looks like: - Code is divided into logical components each with a clean, single responsibility -- Array prototype methods are used to iterate instead of `for` loops - Variables and functions are consistently and appropriately named - Code leverages JavaScript's truthy/falsey principles - Demonstrates efforts towards making functions pure when possible. *Note: Purity is not possible for every function in a FE application. Strive for it only when it makes sense.*