Log in


JavaScript in Year 9/10

  • 14 Dec 2018 10:31 AM
    Message # 6959067
    Deleted user

    Does anyone have any advice for using JavaScript for the Year 9/10 Digital Technologies curriculum? 

    I've just found out I've got a class to 22 students with limited experience in coding. I generally find I pitch things too high and I'm looking for creative ways to meet the requirements of the curriculum, scaffold coding skills for inexperienced students, and manage a class of that size.

    Any project ideas, resources, tutorials, or even general approaches would be very helpful!

  • 17 Dec 2018 9:23 AM
    Reply # 6961964 on 6959067
    Anonymous member (Administrator)

    Hi Chris,

    Below are some approaches for JavaScript. Although many schools use Python, there are some advantages to teaching JavaScript. Its syntax is similar to many industry languages like C++, C#, Java, and it can be used alongside HTML to make webpages functional.

    1. Online courses:
      • code.org (free) moves into JavaScript after it finishes with visual code. It begins with "turtle" algorithms and has a Game Lab and an App Lab that teach JavaScript with the help of code blocks.
      • Khan Academy and Codeacademy both have free introductory courses for JavaScript.
      • "Code by gaming" site CodeCombat (paid) features JavaScript alongside Python.
    2. Teaching up front:
      • repl.it (free) allows you to code in JavaScript. It does include some self-marking code assignments, but the strength of the site is being able to write and test your own code, and share it quickly with the class.
    3. Robots and electronics
      • The main site for the BBC micro:bit uses JavaScript alongside blocks. (Note, it is actually a Microsoft variant called TypeScript. Differences are few when the code is very simple, but there are some differences as you start doing functions or objects.)
      • The Sphero can use JavaScript.


    Finally, although there are debates about technicalities, you can use JavaScript to teach object-oriented programming. Before 2015, this had to be written with messy workarounds, but now you can make clear class definitions like the code below. Just be aware that there will be lots of tutorials and forum answers on the Internet still teaching the old workarounds, such as using functions.

    (BTW, we ran an Object-oriented Workshop here at DLTV in 2018 for both Python and JavaScript, and we are planning to run another in 2019.)


    class Pet {

        constructor(name, numberOfLegs) {

            this.name = name;

            this.numberOfLegs = numberOfLegs;

            this.age = 0;

            this.vaccinated = false;

        }

    }


    let myPet = new Pet("Fido", 4);

  • 22 Jan 2019 1:48 PM
    Reply # 7014427 on 6959067
    Deleted user

    Thanks, Nathan. That gives me lots to get started with.

    I was disappointed that I wasn't able to make the OO coding workshop in 2018, so I'm glad to hear it's running again in 2019!

  • 23 Jan 2019 10:59 AM
    Reply # 7031011 on 6959067

    Hi Chris,

    Many schools use Grok online learning platform to deliver their Coding component, though they mostly offer Python. I intend to use them this year for this purpose. The rates are very competitive and the material is excellent for those with little coding experience.

    Cheers,

    Rachelle

    Wangaratta High


  • 26 Nov 2019 6:28 AM
    Reply # 8138631 on 6959067

    +1 for Groklearning.com; Great website featuring python, javascript, html and css courses and probably more that I haven't checked out yet.

    Edward Wilson

    Gippsland Grammar


Powered by Wild Apricot Membership Software