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
the reason why it has so many steps because it is currently being used to teach all of the JS fundamentals like functions, strings, arrays, variables , etc.
But with the new frontend cert, we already have plenty of smaller workshops and labs to teach JS fundamentals.
So we are going to convert this project into a lab.
You don't need to keep the global variables.
You are free to just create a function that will generate the pyramid with a character, count and isInverted boolean.
Or you can have two functions if you want. One for the padRow and one to generate the pyramid. It is up to you.
Play around with the current solution and see how you can refactor this to convert it to a lab.
Then add your user stories.
The text was updated successfully, but these errors were encountered:
We currently have this pyramid generator project in the beta JS curriculum.
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-introductory-javascript-by-building-a-pyramid-generator/step-118
the reason why it has so many steps because it is currently being used to teach all of the JS fundamentals like functions, strings, arrays, variables , etc.
But with the new frontend cert, we already have plenty of smaller workshops and labs to teach JS fundamentals.
So we are going to convert this project into a lab.
here is the current solution:
You don't need to keep the global variables.
You are free to just create a function that will generate the pyramid with a character, count and isInverted boolean.
Or you can have two functions if you want. One for the padRow and one to generate the pyramid. It is up to you.
Play around with the current solution and see how you can refactor this to convert it to a lab.
Then add your user stories.
The text was updated successfully, but these errors were encountered: