Verse Logo
WEB Dev - Verse'26WEB - V'26
HomeSessionsAssignmentsCode ExamplesMembersLeaderboardAboutContact

Team WEB - Verse'26

Transform from absolute beginner to confident, portfolio-ready web developer in 16 weeks. Master modern web technologies through hands-on projects.

Quick Links

  • Sessions
  • Assignments
  • About
  • Contact

Resources

  • MDN Web Docs
  • W3Schools
  • GitHub
  • CodePen
© 2025 Abdelrhman Nasr. All rights reserved.
Back to Sessions
Week 10JavaScript Power
3 hours

JavaScript - Numbers, Math & Control Flow

Work with numbers and make decisions in code

Learning Objectives

  • Perform mathematical operations
  • Use conditional statements
  • Make decisions in code
  • Generate random numbers
  • Build logic flows

Topics Covered

  • 1
    Number Methods (toString, toFixed, parseInt, parseFloat)
  • 2
    Math Object (PI, abs, ceil, floor, round, min, max, pow, sqrt, random)
  • 3
    If Statements and If-Else
  • 4
    Else-If Chains
  • 5
    Nested If Statements
  • 6
    Ternary Operator
  • 7
    Switch Statement
  • 8
    Logical Operators Deep Dive
  • 9
    Short-Circuit Evaluation
  • 10
    Nullish Coalescing and Optional Chaining

Assignment

Interactive Games and Calculators

Build a Magic 8-Ball program, Rock Paper Scissors game vs computer, temperature converter, and age calculator from birth year.

Resources

  • • Math Object Guide
  • • Control Flow Tutorial
View All Assignments
Previous SessionNext Session