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 a and b, as arguments// If a is smaller than b, divide a by b// Otherwise, multiply both numbers// Return the resulting valuefunction myFunction() { return}

myFunction(10, 100)

0.1

myFunction(90, 45)

4050

myFunction(8, 20)

0.4

myFunction(2, 0.5)

1