Closed zairahira closed 1 month ago
According to the sheet, the array methods like removing and adding elements come after this lab. However, at this point campers would know how to access and update items. Should I make changes according to that?
There's a mismatch between the issue related to this PR and the sheet apparently. Unless the array methods are going to be introduced in the previous workshop (which I think has not been created yet) and then mentioned in the following videos.
Is that possible? @zairahira @jdwilkin4
I went ahead and updated it on the sheet. So push, pop, shift and unshift will be taught before this in the lecture block
I just added the workshop PR that will go before this lab
https://github.com/freeCodeCamp/CurriculumExpansion/pull/495
@Dario-DC I have added a few more methods like push()
and pop()
. Let me know what you think of this one.
Just throwing out ideas - you could start with an empty array, or maybe just one item in it, and have them push several more instead of just one.
"You should create a adultsMenu
array with one item, "Salad", in it.
"You should use "push" to add three more food items to the adultsMenu
array"
"You should create a kidsMenu
array with one item, "Pizza", in it.
"You should use "push" to add two more food items to the kidsMenu
array"
I think this works as-is, but I think that might make it a little better.
If you just want to update the user stories, I'll take another look @zairahira - or you can add something like my suggestion and update them if you want.
@moT01 I have added a few more stories as suggested. Let me know what you think.
Checklist:
Update index.md
)Closes #428