If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Search
DonateLoginSign up
Search for courses, skills, and videos
Main content
Computing Computer programming Intro to JS: Drawing & Animation Logic and if Statements

Logic and if Statements

    • If Statements
    • Challenge: Bouncy Ball
    • More Mouse Interaction
    • Challenge: Your First Painting App
    • Booleans
    • Challenge: Number Analyzer
    • Logical Operators
    • Challenge: Your First Button
    • Challenge: Smarter Button
    • If/Else - Part 1
    • Challenge: Flashy Flash Card
    • If/Else - Part 2
      This is the currently selected item.
    • Review: Logic and if Statements
    • Random numbers
    • Project: Magic 8-Ball
    Next lesson
    Debugging programs
Challenge: Flashy Flash Card
Review: Logic and if Statements
Up Next
Review: Logic and if Statements

Our mission is to provide a free, world-class education to anyone, anywhere.

Khan Academy is a 501(c)(3) nonprofit organization. Donate or volunteer today!

Site Navigation

  • About

    • News
    • Impact
    • Our team
    • Our interns
    • Our content specialists
    • Our leadership
    • Our supporters
    • Our contributors
    • Our finances
    • Careers
    • Internships
  • Contact

    • Help center
    • Support community
    • Share your story
    • Press
  • Download our apps

    • iOS app
    • Android app
  • Courses

Go
CountryU.S.IndiaMexicoBrazil
© 2019 Khan Academy
Terms of use
Privacy Policy