mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove first-person language from workshop-heritage-library-catalog (#67410)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-15
|
||||
|
||||
# --description--
|
||||
|
||||
Let's verify the search works. Stephen King has six books in the catalog.
|
||||
It's time to verify that the search works. Stephen King has six books in the catalog.
|
||||
|
||||
Call `findByAuthor(catalog, "king")` and assign the result to a variable named `kingBooks`. Log `kingBooks.length` to confirm the count.
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-25
|
||||
|
||||
# --description--
|
||||
|
||||
Let's see the validator catch a real problem. `catalog[0]` is "From a Buick 8" by Stephen King, which has all four fields populated. `catalog[16]` is "Unknown Title", which has a blank author field.
|
||||
It's time to see the validator catch a real problem. `catalog[0]` is "From a Buick 8" by Stephen King, which has all four fields populated. `catalog[16]` is "Unknown Title", which has a blank author field.
|
||||
|
||||
Log `validateEntry(catalog[0])` and `validateEntry(catalog[16])`. The first should return `true`; the second should return `false`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user