Javascript Curriculum should alert camper that they're trying to print the page #54487
Labels
new javascript course
These are for issues dealing with the new JS curriculum
scope: curriculum
Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
status: discussing
Under discussion threads. Closed as stale after 60 days of inactivity.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Describe the Issue
It's not exactly common, but it's an extremely easy mistake to make. In Python, you would use the
print
function to print things out. However in our JavaScript lessons; it prompts the camper to print out the current page they're in within the curriculum. There should be some kind of universal check tied to this type of challenge that determines if the code in the challenge contains theprint
function instead ofconsole.log
.Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-introductory-javascript-by-building-a-pyramid-generator/step-4
Your code
Expected behavior
Rather than the print page prompt showing up, the test once evaluated should tell me that I've made a mistake and should be using
console.log
.Screenshots
No response
System
Additional context
Appears on this thread.
https://forum.freecodecamp.org/t/stuck-on-step-32-print-i-is-going-to-my-printer/686617
The text was updated successfully, but these errors were encountered: