while (!container)
^
ReferenceError: container is not defined
FIX
In the index.js file add this simple line of code let container = true. This simple fix works for me.
// line 55 | index.js
let container = true // add this line of code
while (!container)
container = prompt("Insert the container for your book (either 'kids' or 'young')");
ERROR
FIX
In the
index.js
file add this simple line of codelet container = true
. This simple fix works for me.