JavaScript exercises and solutions - Identify if a number is odd or even - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: JavaScript Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=6) +--- Thread: JavaScript exercises and solutions - Identify if a number is odd or even (/showthread.php?tid=4103) |
JavaScript exercises and solutions - Identify if a number is odd or even - Qomplainerz - 04-04-2023 The HTML part between the <body></body> tags looks like this: Code: Please enter a number here: The JavaScript part looks like this: Code: function oddOrEven() |