A 'Hello World' program is a rite of passage for a coder, started by Dr. Brian Kernighan, a computing pioneer at Bell Labs.
Code developers have their quirks. Color me shocked.
One of them is to author code that prints the phrase 'Hello World' on a display device. Big whoop, but that often launches a process that can change people's lives. That's what we are doing here. (Changing people's lives, wink).
In particular, this silly little app intends to introduce you to what we affectionately call: The Fantastic Four: HTML, CSS, JavaScript and Bootstrap5!
Hello, DOM
If you examine the original HTML file, you'll notice that there is NOTHING in the div with id="results". When we click the blue button however, something is inserted into the fabric of the page ~ our 'Hello World' message!. That is the magic of JavaScript utilizing the power of the Document Object Model, aka DOM. Note: the same thing happened with our p with id="magicPara"
Pure magic!
We've changed the fabric of the webpage!