Javascript: if Conditions Tutorial

Hi everyone! Today I am showing you one of my first puzzles in Javascript using IF Conditions.

Lets meet with our task:

Write a program that asks the user for two numbers, then compares them and displays one of the messages: “The first number is greater than the second”, “The second number is greater than the first” or “The numbers are equal”. It is necessary to take into account situations when the user instead of a number entered a line or did not enter anything at all.

Thnx for watching!

Support the video:

Post Author: hatefull