Want to make a change to this week but don't have the time? Click here
Want to report a bug in this week? Click here
Before you start teaching this module you must inform all trainees that there is preparation work to do.
You can find the preparation material here.
Be sure to assign all of the tasks to your trainees several days before you aim to teach.
For this exercise, you should open the Pull Request and share you screen. Elicit answers from the trainees based on what they've just read.
You should only type what they say, try to let them take the lead.
Important: Please delete the comments after you have finished the exercise so that another teachers can use it!
We highly recommend joining the relevent Slack Channel for this module. In this channel you can ask questions, get advice from previous teachers and discuss lesson content.
For general Syllabus feedback and help you can post in cyf-syllabus
- Week 1 Midweek Catch-up - JS Core 1 [Google Slides] - 01/05/2020
- Created by Scotland and Richard Darby
- Functions, Variables and Bees - An Introduction to JS1-1 Concepts
- Created by Scotland and Rares Matei
- Having all the exercises for the module in the js-exercises repo works well.
Array methods in syllabus seem outdated / not the most useful.
- e.g. setting a new array value using the [x] notation should be replaced with .push()
- Also suggest adding filter() to array methods section.
Can we introduce arrow functions here? It is likely trainees will encounter this notation during their research, so it would be useful to cover this.
- Trainees confuse returns and console.logs
- The Predicates section was spent mostly trying to grasp typeof. Not sure if this is just a good opportunity to teach typeof, or if it distracts from the point of the lesson i.e. predicates?
- Trainees make some confusions between the function definition and the function call during the tdd exercises. They try to reuse the values or the variables passed as parameters when calling the function inside the function itself. For Example, given the definition: function addOne(numbers) and the call: addOne(myArray), trainees try to use the name myArray inside the function or they think that the parameter in the function definition should be called myArray...