Determine the sum of all numbers (beginning at zero) up to a number of your choice.
This is some text that also contains useful links (like this one that actually lead nowhere. They lead nowhere because this text and example is not about the anchor elements or the link destinations but instead about JavaScript.
Because you can use JavaScript (okay, this link actually does lead somewhere) not just for funny demos or useless examples but for real useful things - like highlighting all the links in a text.
You can dive even deeper into JavaScript with one of our bestselling, deep-dive, JavaScript-focused courses.
Test your luck and find out how many dice rolls (1-6 dice) it takes you to roll a certain number (between 1 and 6).
It took you X rolls to roll a Y.