freeCodeCamp/CurriculumExpansion

chore: add mad libs game lab to frontend cert(JS only)

Closed this issue · 0 comments

The first few labs in the JS section will be JavaScript only and short.
The preceding workshops will also be short and only teach a few concepts.
This is to ensure the campers really grasp the fundamentals before moving onto harder concepts.

Here is the intro to strings JS workshop:
https://github.com/freeCodeCamp/CurriculumExpansion/pull/415/files

We need a mad libs lab that will immediately following that.

Here is what the campers will know so far:

  • let
  • const
  • assignment
  • reassignment
  • basic string usage
  • console.log
  • camelCase
  • string concatenation using the + operator
  • template literals
  • str.length property
  • bracket notation and retrieving characters from strings
  • str.indexOf method

For this mad libs game lab, you could have campers create a few variables for stuff like person, verb, city, food, etc.
Then they will create mad libs using string concatenation and those variables.
Then they will log those mad libs to the console

Acceptance criteria

  • create a new folder of the project in the frontend-cert/js-projects directory
  • add your completed project in an script.js file in that new folder
  • create a markdown file for your proposed user stories. You should call it user-stories.md and place it in your new project folder