- What is CodeHS?
- Curriculum
- Platform
- Assignments
- Classroom Management
- Grading
- Gradebook
- Progress Tracking
- Lesson Plans
- Offline Handouts
- Problem Guides
- Practice
- Create
- Problem Bank
- Playlist Bank
- Quiz Scores
- Rostering
- Integrations
- Professional Development
- Stories
- Standards
- States
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- D.C.
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- State Standards
- Plans
- Resources
- Districts
- Share
- Contact Us
- Company
GA 6-8: CSS.KC.6-8.20.7
CodeHS Lessons
Create a program that accepts user and/or sensor input and stores the result in a variable.
| Standard |
| 3.3 User Input |
| 3.4 Basic Math in JavaScript |
| 5.2 Logical Operators |
| 5.3 Comparison Operators |
| 5.4 If Statements |
| 5.7 For Loop Practice |
| 5.9 While Loops |
| 5.10 Loop and a Half |
| 7.4 Functions and Return Values 1 |
| 7.5 Functions and Return Values 2 |
| 8.1 Functions Challenges |
| Standard |
| 2.12 User Input |
| 2.13 Parameters |
| 2.16 If Statements |
| 2.17 If/ Else Statements |
| 2.18 While Loops |
| 2.19 Putting Together Control Structures |
| 3.3 User Input |
| 3.5 String Operators |
| 4.3 Comparison Operators |
| 4.4 Logical Operators |
| 4.5 Floating Point Numbers and Rounding |
| 5.1 While Loops |
| 5.2 For Loops |
| 5.3 Break and Continue |
| 6.1 Functions |
| 6.2 Functions and Parameters |
| 6.3 Namespaces in Functions |
| 6.4 Functions and Return Values |
| 6.5 Exceptions |
| 7.1 Indexing |
| 7.2 Slicing |
| 7.4 Strings and For Loops |
| 7.5 The in Keyword |
| 7.6 String Methods |
| 8.2 Lists |
| 8.3 For Loops and Lists |
| 8.4 List Methods |
| 9.3 Packing and Unpacking |
| 9.4 Dictionaries |
| 9.5 Equivalence vs. Identity |
| Standard |
| 33.1 Indexing |
| 33.2 Slicing |
| 33.4 Strings and For Loops |
| 33.5 The in Keyword |
| 33.6 String Methods |
| Standard |
| 13.12 User Input |
| 13.13 Parameters |
| 13.16 If Statements |
| 13.17 If/ Else Statements |
| 13.18 While Loops |
| 13.19 Putting Together Control Structures |
| Standard |
| 9.3 User Input |
| 9.4 Basic Math in JavaScript |
| 9.6 Logical Operators |
| 9.7 Comparison Operators |
| 9.8 If Statements |
| 9.10 For Loop Practice |
| 9.12 While Loops |
| 9.13 Loop and a Half |
| 9.16 Functions and Return Values 1 |
| 9.17 Functions and Return Values 2 |
| Standard |
| 22.2 Logical Operators |
| 22.3 Comparison Operators |
| 22.4 If Statements |
| 22.7 For Loop Practice |
| 22.9 While Loops |
| 22.10 Loop and a Half |
| Standard |
| 3.1 TouchableHighlight and the onPress Function |
| Standard |
| 4.2 User Input |
| 4.3 Parameters |
| 5.1 If Statements |
| 5.2 If/ Else Statements |
| 5.3 While Loops |
| 6.1 Putting Together Control Structures |
| Standard |
| 3.12 User Input |
| 3.13 Parameters |
| 3.16 If Statements |
| 3.17 If/ Else Statements |
| 3.18 While Loops |
| 3.19 Putting Together Control Structures |
| Standard |
| 3.3 User Input |
| 3.4 Basic Math in JavaScript |
| 6.12 User Input |
| 6.13 Parameters |
| 6.16 If Statements |
| 6.17 If/ Else Statements |
| 6.18 While Loops |
| 6.19 Putting Together Control Structures |
| Standard |
| 7.5 String Operators |
| 7.8 Comparison Operators |
| 7.9 Logical Operators |
| 7.11 For Loops |
| 7.12 Break and Continue |
| 7.14 Functions |
| 7.16 Namespaces in Functions |
| 7.15 Functions and Parameters |
| 7.17 Functions and Return Values |
| 7.18 Exceptions |
| Standard |
| 6.2 Lists |
| 6.3 For Loops and Lists |
| 6.4 List Methods |
| 6.6 Dictionaries |
| Standard |
| 2.3 Operators |
| 2.4 If/Else Statements |
| 3.1 micro:bit Challenges |
| Standard |
| 2.1 Loops |
| 2.2 If/Else Statements |
| 2.3 Arithmetic, Comparison, and Logical Operators |
| 2.4 Functions |
| 2.5 Using Motors |
| 3.1 Arduino Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 2.3 User Input |
| 5.10 Writing BlackJack |
| 5.11 Battleship |
| 8.1 Mad Libs |
| 7.1 Pokemon Simulation |
| Standard |
| 12.1 Mad Libs |
| 11.1 Pokemon Simulation |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 6.3 User Input |
| 6.4 Basic Math in JavaScript |
| 9.2 Logical Operators |
| 9.3 Comparison Operators |
| 9.4 If Statements |
| 9.7 For Loop Practice |
| 9.9 While Loops |
| 9.10 Loop and a Half |
| 11.4 Functions and Return Values 1 |
| 11.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 14.2 Logical Operators |
| 14.3 Comparison Operators |
| 14.4 If Statements |
| 14.7 For Loop Practice |
| 14.9 While Loops |
| 14.10 Loop and a Half |
| 17.4 Functions and Return Values 1 |
| 17.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 9.3 Operators |
| 9.4 If/Else Statements |
| 10.1 micro:bit Challenges |
| Standard |
| 4.3 User Input |
| 4.4 Basic Math in JavaScript |
| 6.2 Logical Operators |
| 6.3 Comparison Operators |
| 6.4 If Statements |
| 6.7 For Loop Practice |
| 6.9 While Loops |
| 6.10 Loop and a Half |
| 8.4 Functions and Return Values 1 |
| 8.5 Functions and Return Values 2 |
| 9.1 Functions Challenges |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 2.3 User Input |
| 2.4 Basic Math in JavaScript |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 3.13 User Input |
| 3.14 Parameters |
| 3.17 If Statements |
| 3.18 If/ Else Statements |
| 3.19 While Loops |
| 3.20 Putting Together Control Structures |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 6.3 User Input |
| 6.4 Basic Math in JavaScript |
| 10.2 Logical Operators |
| 10.3 Comparison Operators |
| 10.4 If Statements |
| 10.7 For Loop Practice |
| 10.9 While Loops |
| 10.10 Loop and a Half |
| 12.4 Functions and Return Values 1 |
| 12.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 5.3 User Input |
| 5.4 Basic Math in JavaScript |
| 7.2 Logical Operators |
| 7.3 Comparison Operators |
| 7.4 If Statements |
| 7.7 For Loop Practice |
| 7.9 While Loops |
| 7.10 Loop and a Half |
| 9.4 Functions and Return Values 1 |
| 9.5 Functions and Return Values 2 |
| Standard |
| 1.12 User Input |
| 1.13 Parameters |
| 1.16 If Statements |
| 1.17 If/ Else Statements |
| 1.18 While Loops |
| 1.19 Putting Together Control Structures |
| 14.3 Operators |
| 14.4 If/Else Statements |
| 15.1 micro:bit Challenges |
| Standard |
| 3.3 User Input |
| 3.4 Basic Math in JavaScript |
| 5.2 Logical Operators |
| 5.3 Comparison Operators |
| 5.4 If Statements |
| 5.7 For Loop Practice |
| 5.9 While Loops |
| 5.10 Loop and a Half |
| 7.4 Functions and Return Values 1 |
| 7.5 Functions and Return Values 2 |
| 8.1 Functions Challenges |
| Standard |
| 3.3 User Input |
| 3.4 Basic Math in JavaScript |
| 5.2 Logical Operators |
| 5.3 Comparison Operators |
| 5.4 If Statements |
| 5.7 For Loop Practice |
| 5.9 While Loops |
| 5.10 Loop and a Half |
| 7.4 Functions and Return Values 1 |
| 7.5 Functions and Return Values 2 |
| 8.1 Functions Challenges |
- What is CodeHS?
- Curriculum
- Platform
- Assignments
- Classroom Management
- Grading
- Gradebook
- Progress Tracking
- Lesson Plans
- Offline Handouts
- Problem Guides
- Practice
- Create
- Problem Bank
- Playlist Bank
- Quiz Scores
- Rostering
- Integrations
- Professional Development
- Stories
- Standards
- States
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- D.C.
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- State Standards
- Plans
- Resources
- Districts
- Share
- Contact Us
- Company