Please enable JavaScript to use CodeHS


Intro to Programming in JavaScript with Arduino

Lessons

  1. Programming With Karel

    1. 1.1 Introduction to Programming With Karel

    2. Description
    3. Objective
    4. 1.2 More Basic Karel

    5. Description
    6. Objective
    7. 1.3 Karel Can't Turn Right

    8. Description
    9. Objective
    10. 1.4 Functions in Karel

    11. Description
    12. Objective
    13. 1.5 The Start Function

    14. Description
    15. Objective
    16. 1.6 Top Down Design and Decomposition in Karel

    17. Description
    18. Objective
    19. 1.7 Commenting Your Code

    20. Description
    21. Objective
    22. 1.8 Super Karel

    23. Description
    24. Objective
    25. 1.9 For Loops

    26. Description
    27. Objective
    28. 1.10 If Statements

    29. Description
    30. Objective
    31. 1.11 If/Else Statements

    32. Description
    33. Objective
    34. 1.12 While Loops in Karel

    35. Description
    36. Objective
    37. 1.13 Control Structures Example

    38. Description
    39. Objective
    40. 1.14 More Karel Examples and Testing

    41. Description
    42. Objective
    43. 1.15 How to Indent Your Code

    44. Description
    45. Objective
    46. 1.16 Programming with Karel Quiz

    47. Description
    48. Objective
  2. Karel Challenges

    1. 2.1 Challenge Problems

    2. Description
    3. Objective
  3. JavaScript and Graphics

    1. 3.1 Hello World

    2. Description
    3. Objective
    4. 3.2 Variables

    5. Description
    6. Objective
    7. 3.3 User Input

    8. Description
    9. Objective
    10. 3.4 Basic Math in JavaScript

    11. Description
    12. Objective
    13. 3.5 Using Graphics in JavaScript

    14. Description
    15. Objective
    16. 3.6 Programming with JavaScript Quiz

    17. Description
    18. Objective
  4. Graphics Challenges

    1. 4.1 Collaborative Programming

    2. Description
    3. Objective
    4. 4.2 Graphics Challenges

    5. Description
    6. Objective
  5. Intro to Arduino

    1. 5.1 Welcome to Arduino!

    2. Description
    3. Objective
    4. 5.2 Setting Up your Arduino

    5. Description
    6. Objective
    7. 5.3 Comments & Pseudocode

    8. Description
    9. Objective
    10. 5.4 Variables

    11. Description
    12. Objective
    13. 5.5 Debugging

    14. Description
    15. Objective
    16. 5.6 Intro to Arduino Quiz

    17. Description
    18. Objective
  6. JavaScript Control Structures

    1. 6.1 Booleans

    2. Description
    3. Objective
    4. 6.2 Logical Operators

    5. Description
    6. Objective
    7. 6.3 Comparison Operators

    8. Description
    9. Objective
    10. 6.4 If Statements

    11. Description
    12. Objective
    13. 6.5 For Loops in JavaScript

    14. Description
    15. Objective
    16. 6.6 General For Loops

    17. Description
    18. Objective
    19. 6.7 For Loop Practice

    20. Description
    21. Objective
    22. 6.8 Random Numbers

    23. Description
    24. Objective
    25. 6.9 While Loops

    26. Description
    27. Objective
    28. 6.10 Loop and a Half

    29. Description
    30. Objective
    31. 6.11 Javascript Control Structures Quiz

    32. Description
    33. Objective
  7. Control Structures Challenges

    1. 7.1 Control Structures Challenges

    2. Description
    3. Objective
  8. Functions and Parameters

    1. 8.1 Functions and Parameters 1

    2. Description
    3. Objective
    4. 8.2 Functions and Parameters 2

    5. Description
    6. Objective
    7. 8.3 Functions and Parameters 3

    8. Description
    9. Objective
    10. 8.4 Functions and Return Values 1

    11. Description
    12. Objective
    13. 8.5 Functions and Return Values 2

    14. Description
    15. Objective
    16. 8.6 Local Variables and Scope

    17. Description
    18. Objective
    19. 8.7 Functions and Parameters Quiz

    20. Description
    21. Objective
  9. Functions Challenges

    1. 9.1 Functions Challenges

    2. Description
    3. Objective
  10. Program Control with Arduino

    1. 10.1 Loops

    2. Description
    3. Objective
    4. 10.2 If/Else Statements

    5. Description
    6. Objective
    7. 10.3 Arithmetic, Comparison, and Logical Operators

    8. Description
    9. Objective
    10. 10.4 Functions

    11. Description
    12. Objective
    13. 10.5 Using Motors

    14. Description
    15. Objective
    16. 10.6 Program Control with Arduino Quiz

    17. Description
    18. Objective
  11. Animation and Games

    1. 11.1 Timers

    2. Description
    3. Objective
    4. 11.2 Random Circles

    5. Description
    6. Objective
    7. 11.3 Random Ghosts

    8. Description
    9. Objective
    10. 11.4 Bouncing Ball

    11. Description
    12. Objective
    13. 11.5 Mouse Events: Mouse Clicked

    14. Description
    15. Objective
    16. 11.6 Mouse Events: Mouse Moved

    17. Description
    18. Objective
    19. 11.7 Drawing Lines

    20. Description
    21. Objective
    22. 11.8 Key Events

    23. Description
    24. Objective
    25. 11.9 Crazy Ball Game

    26. Description
    27. Objective
    28. 11.10 Animation and Games Quiz

    29. Description
    30. Objective
  12. Animation Challenges

    1. 12.1 Animation Challenges

    2. Description
    3. Objective
  13. Project: Breakout

    1. 13.1 Breakout

    2. Description
    3. Objective
  14. Advanced Arduino

    1. 14.1 Arduino Challenges

    2. Description
    3. Objective
    4. 14.2 Explore a New Sensor

    5. Description
    6. Objective
    7. 14.3 Step-by-Step Arduino Project

    8. Description
    9. Objective
    10. 14.4 Final Project

    11. Description
    12. Objective
  15. Final Project

    1. 15.1 Project Prep and Development

    2. Description
    3. Objective
  16. Final Exam

    1. 16.1 Final Exam

    2. Description
    3. Objective
  17. Midterm

    1. 17.1 Midterm

    2. Description
    3. Objective
  18. Extra Karel Practice

    1. 18.1 Extra Karel Practice

    2. Description
    3. Objective
  19. Extra Karel Puzzles

    1. 19.1 Extra Karel Puzzles

    2. Description
    3. Objective
  20. Functions and Parameters Practice

    1. 20.1 Functions and Parameters Practice

    2. Description
    3. Objective
  21. Project: Tic Tac Toe

    1. 21.1 Tic Tac Toe

    2. Description
    3. Objective
  22. Project: Helicopter Game

    1. 22.1 Game Design: Helicopter

    2. Description
    3. Objective
    4. 22.2 Basics

    5. Description
    6. Objective
    7. 22.3 Improvements

    8. Description
    9. Objective
    10. 22.4 Polish

    11. Description
    12. Objective
    13. 22.5 Intro to Computer Science Completed

    14. Description
    15. Objective