Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise JS Fundamentals Lesson #259

Open
hfaerber opened this issue Sep 4, 2024 · 1 comment
Open

Revise JS Fundamentals Lesson #259

hfaerber opened this issue Sep 4, 2024 · 1 comment

Comments

@hfaerber
Copy link
Contributor

hfaerber commented Sep 4, 2024

Based on 2407 inning, we should make the following changes to the JS Fundamentals Lesson:

  • Less time on the basics like data types and variables
  • More focus and explicit outlining of how JS is different from Ruby in ways that might trip them up:
    • have to use () to call a function
    • will use dot notation for both properties and methods() in JS (only used for methods in ruby)
  • null and undefined was useful
  • more time on for loops and conditionals
  • they need to understand how to use console log and debugger as they write JS code (and to keep the console open). outline general workflow for JS projects.

Lesson needs more hands on practice for:

  • functions/params/args
  • conditionals
  • for loops
  • debugger
@hfaerber
Copy link
Contributor Author

students were so dead-set on passing the dataset as an argument. Scope works differently in Ruby than it does in JS. In Ruby, they can only access the data if they've passed it into the function. The concept of accessing a global variable was not clear. They also want to make it dynamic so the same function can be run on multiple datasets.

add this info to the functions section of the JS Fundmentals lesson. it already has examples of working with a parameter and working with a global variable. Just need to add the clear call out about how this is different from Ruby
the very first JS: Iteration Station should be walking through an iterator problem with a focus on console logging and scope, including this piece.

@kaylagordon kaylagordon self-assigned this Sep 19, 2024
@kaylagordon kaylagordon removed their assignment Oct 10, 2024
@hfaerber hfaerber self-assigned this Oct 23, 2024
@hfaerber hfaerber mentioned this issue Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants