Version 0.0.1
Good reference for if / else statements and innerHTML.
JavaScript: ! = not, && = and, || = or
Luau: not = not, and = and, or = or
JavaScript:
let myHour = 20;
if (myHour < 18) {
let myGreeting = "Good Day";
}
Luau:
local myHour = 20
if myHour < 18 then
local myGreeting = "Good Day"
end
Change the numbers to test the decisions.
Edit the Luau code and press Run Luau. The numbers are read from the inputs above.