123456/js.html

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=<device-width>, initial-scale=1.0"> <title>Document</title> </head> <body> <script> var nummers = [] nummers[0]= 12 nummers[1]= 16 if(nummers[0] < nummers[1]){ document.write('Lager') } else if (nummers[0] < nummers[1]){ document.write('Hoger') } else{ document.write('Gelijk') } </script> </body> </html>

Resultaat

Made by Thijs Aarnoudse