Start.dev
CoursesChallenges
Log inSign up

JavaScript Functions

Challenge set

JavaScript Functions

Practice JavaScript functions through six hands-on Challenges covering parameters, return values, calculations, collection inputs, and reusable logic.

JavaScript logoJavaScript

Work through the collection

Challenges in This Set

  1. 01
    JavaScript logo

    JavaScript

    Personal Greeting

    Write a JavaScript function that accepts a name, returns a personalized greeting, and prints the result from a call with the provided value.

    Experience points50XPBeginner
  2. 02
    JavaScript logo

    JavaScript

    Tip Calculator

    Build a JavaScript tip calculator function that accepts a bill total and percentage, returns the tip amount, and prints the calculated result.

    Experience points50XPBeginner
  3. 03
    JavaScript logo

    JavaScript

    Ticket Price

    Use a JavaScript function with parameters and conditional returns to calculate the correct ticket price from age and membership status.

    Experience points50XPBeginner
  4. 04
    JavaScript logo

    JavaScript

    Available Seats

    Write a JavaScript function that accepts an array of seat states, loops through it, and returns the number of seats still available.

    Experience points50XPBeginner
  5. 05
    JavaScript logo

    JavaScript

    Highest Score

    Build a JavaScript function that loops through a score array and returns the highest value without sorting or using higher order methods.

    Experience points50XPBeginner
  6. 06
    JavaScript logo

    JavaScript

    Order Total

    Combine functions, arrays, loops, and conditionals in JavaScript to total an order, apply a qualifying discount, and return the final price.

    Experience points50XPBeginner
Start.dev

Learn how to code by building real software.

© 2026 Start.devRoadmapRanksBlogInstructorsFAQContact usTerms of ServicePrivacy PolicyStatus