You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exercises 12 and 13 always fail because prompt is not defined.
The error is:
ReferenceError: prompt is not defined
> 1 | let guests = prompt('How many people are coming to your wedding?');
| ^
2 |
3 | function getPrice(guests){
4 | let cost = 0;
at exercises/12-How_much_the_wedding_costs/app.js:1:1039
at Object.<anonymous> (exercises/12-How_much_the_wedding_costs/app.js:110:4)
at Object.load (../../home/node/.local/share/@learnpack/learnpack/node_modules/rewire/lib/moduleEnv.js:55:18)
at internalRewire (../../home/node/.local/share/@learnpack/learnpack/node_modules/rewire/lib/rewire.js:49:15)
at rewire (../../home/node/.local/share/@learnpack/learnpack/node_modules/rewire/lib/index.js:11:12)
at Object.rewire (exercises/12-How_much_the_wedding_costs/tests.js:12:17)
The text was updated successfully, but these errors were encountered:
Exercises 12 and 13 always fail because prompt is not defined.
The error is:
The text was updated successfully, but these errors were encountered: