Getting Started

Overview

Random Challenge

Javascript Basics

- Return the percentage of a number

- Check if a number is even

- How many times does a character occur?

- Check if a number is a whole number

- Multiplication, division, and comparison operators

- Check whether a string contains another string and concatenate

- Split a number into its digits

- Clear up the chaos behind these strings

- Return the next higher prime number

- Find next higher natural number that is divisble by y

- Round a number to 2 decimal places

- Comparison operators, strict equality

- Find the correct word by incrementing letters in alphabet

Javascript Arrays

Javascript Objects

Javascript Dates

Javascript Sets

// Write a function that takes two numbers, say x and y, as arguments// Check if x is divisible by y// If yes, return x// If not, return the next higher natural number that is divisible by yfunction myFunction() { return}

myFunction(1, 23)

23

myFunction(23, 23)

myFunction(7, 3)

9

myFunction(-5, 7)

0