Pathways Logo An illustrated head with ideas growing out of it.
  • Intro to the Web
    • Introduction to the Web
    • Instagram Project
  • Variables
    • Declaring Variables
    • Naming Variables
    • Data Types
    • Heart Project
  • Operators
    • Arithmetic Operators
    • Assignment Operators
    • String Operators
    • Comparison Operators
    • Conditional and Logical Operators
    • Bitwise and Other Operators
    • Operators Exercises
    • Thermometer Project
    • Rainbow Dot Project
    • MadLibs Project
    • Animated Egg Project
  • Conditionals and Methods
    • Conditional Statements
    • Switch Statements
    • Using Methods
    • String Methods
    • Number Methods
    • Array Methods
    • Date Object & Methods
    • Math Methods
    • Jellyfish Project
    • Cloudy Sky Project
    • Student Roster/Interactive Quiz Project
  • Functions
    • Intro to Functions
    • Function Syntax
    • User Invoked Functions
    • Event Invoked Functions
    • setTimeout and setInterval
    • Function Returns
    • Sun and Moon Project
    • Writing Methods
    • Glass-Pudding-Cat Project
    • Feed da Panda Project
    • Solar System Project
  • HTML, CSS, and JavaScript
    • Classes and Ids
    • Basic HTML Document Setup
    • Accessing HTML and CSS in JavaScript
    • Event Invoked Functions 2
    • CSS Properties - Color, Font-family, Size Units and Position
    • Flex Box
    • createElement, appendChild, classList
    • Projects
      • Lyrics Project
      • Pokedex Project
      • Website Project
  • Loops
    • For Loops
    • While Loops
    • Nested Loops
    • Pushki's Cafe
    • Flock of Birds Project
    • Multiplication Tables Project
  • JSON
    • Intro to JSON
    • JSON Syntax
    • Reading JSON with Fetch API
    • JSON and HTML
    • Personalized Parks
    • Pets Only Dating Site
    • Olympic Table Tennis Scoreboard
  • Miscellaneous Topics
    • Reading JSON with XMLHTTPRequest
    • Intro to Canvas
    • Canvas Basics
    • Complex Canvas Shapes + Drawings
    • Canvas and JSON

  • Clear History

Reveal teacher material


LSU Stem Certification Pathways
Admin Page
Coding for the Web > Conditionals and Methods
        • Lessons:
        • Projects:

Conditionals and Methods

Lessons:

  • 3.1 : Conditional Statements
  • 3.2 : Switch Statements
  • 3.3 : Using Methods
  • 3.4 : String Methods
  • 3.5 : Number Methods
  • 3.6 : Array Methods
  • 3.7 : Date and Object Methods
  • 3.8 : Math Methods

Projects:

  • 1. Jellyfish Project
  • 2. Cloudy Sky Project
  • 3. Student Roster + Interactive Quiz Project