Lab PC-3B: Programming Concepts: JavaScript 2

Date open: See Oncourse Assignments
Date due: See Oncourse Assignments
Number of points: 30

This is part 2 of 2.

Learning Objectives

The tutorial will guide you in applying the concepts of algorithms, learned in previous labs, to actual coding in JavaScript, enabling you to:

  1. Repeat statements for a definite number of times (Hour of Code: repeat N times), using the for statement.
  2. Repeat statements for an indefinite number of times (Hour of Code: repeat until), using the while statement.

Instructions

Continue with the Codecademy JavaScript tutorial begun in the previous assignment.

  1. For this assignment, we want you to complete the next four lessons:

    As you progress through the lessons, you will earn more “badges”; and once again, we will want you to turn some of these in.

    If you get stuck, send us a message—you will probably want to copy and paste your code into the message, or else attach a screenshot of it.

    You can log out and come back to continue.

  2. When you’ve finished, show us your new badges:

Turning in This Assignment

Turn in the screenshot(s) showing your badges as attachments in Oncourse Assignments.

Grading Rubric

Partial credit will be earned for partial completion of each section.

Badge Points Percent
Introduction to ‘For’ Loops in JS 10 33 1/3
Search Text for Your Name 5 16 1/6
Introduction to ‘While’ Loops in JS 10 33 1/3
Dragon Slayer! 5 16 1/6
TOTAL 30 100