Since my Hello World project went to bitbucket rather than here, I need to create another repo for 'hello-world',
and hence this repo 'hello-hello-world'.
Not so sure 'hello world' is right. Does a literary masterpiece have export control, since intellectual property (US and world) considers a computer/software program to be a 'literary work' ?
Well, anyway. Node.js doesn't like message boxes, so I had to create a website to use it. And since I have a website, why not use the developer's console too.
So, this html,css,javascript combo, writes to the developer's console in your favorite browser especially if it happens to be Edge or Chrome (sorry, I could only test it in Windows Mac people), and also does a message box confirm and then a message box alert. Version 3 has an animation component. If you're on Microsoft Edge you will only see static rotation through svg, but in Chrome, you may see the static rotation first, but then, using some MDN experimental constructs, the text will move. Version 4 adds an ASCII version for those geeky people. If you put '&' in front of those #number sets and add them to a website you will see the letter/symbol. Here's a translation key for ASCII : HTML Code; Browser view (don't really need the ;) and ` is a backtick.
© © ! ! _ _  � Û Û ® ® " " `
ž ? Ü Ü # # a a Ÿ ? Ý Ý " " $ $ b b   Þ Þ & & % % c c ¡ ¡ ß ß < < & & d d ¢ ¢ à à > > ' ' e e £ £ á á À À ( ( f f ¤ ¤ â â Á Á ) ) g g ¥ ¥ ã ã   * * h h ¦ ¦ ä ä à à + + i i § § å å Ä Ä , , j j ¨ ¨ æ æ Å Å - - k k © © ç ç Æ Æ . . l l ª ª è è Ç Ç / / m m « « é é È È 0 0 n n ¬ ¬ ê ê É É 1 1 o o ­ ë ë Ê Ê 2 2 p p ® ® ì ì Ë Ë 3 3 q q ¯ ¯ í í Ì Ì 4 4 r r ° ° î î Í Í 5 5 s s ± ± ï ï Î Î 6 6 t t ² ² ð ð Ï Ï 7 7 u u ³ ³ ñ ñ Ð Ð 8 8 v v ´ ´ ò ò Ñ Ñ 9 9 w w µ µ ó ó Õ Õ : : x x ¶ ¶ ô ô Ö Ö ; ; y y · · õ õ Ø Ø < < z z ¸ ¸ ö ö Ù Ù = = { { ¹ ¹ ÷ ÷ Ú Ú > > | | º º ø ø Û Û ? ? } } » » ù ù Ü Ü @ @ ~ ~ ¼ ¼ ú ú Ý Ý A A  ? ½ ½ û û Þ Þ B B € ? ¾ ¾ ü ü ß ß C C  � ¿ ¿ ý ý à à D D ‚ ? À À þ þ á á E E ƒ ? Á Á ÿ ÿ å å F F „ ?   æ æ G G … ... à à ç ç H H † ? Ä Ä è è I I ‡ ? Å Å é é J J ˆ ? Æ Æ ê ê K K ‰ ? Ç Ç ë ë L L Š ? È È ì ì M M ‹ ? É É í í N N Œ ? Ê ? î î O O  � Ë Ë ï ï P P Ž ? Ì Ì ð ð Q Q  � Í Í ñ ñ R R  � Î Î ò ò S S ‘ ' Ï Ï ó ó T T ’ ' Ð Ð ô ô U U “ " Ñ Ñ õ õ V V ” " Ò Ò ö ö W W • - Ó Ó ø ø X X – ? Ô Ô ù ù Y Y — ? Õ Õ ú ú Z Z ˜ ? Ö Ö û û [ [ ™ ? × × ý ý \ \ š ? Ø Ø þ þ ] ] › ? Ù Ù ÿ ÿ ^ ^ œ ? Ú Ú
Instructions:
Way A:
-
Fork this repo.
-
Copy the helloWorld1.js, index1.html, styles1.css files to your directory of choice (or maybe clone).
-
Open your browser of choice, and find developer tools.
(settings, more tools for Google chrome; settings for Microsoft Edge, not sure about others)
Make sure the console screen is visable.
- Open the index1.html file in your browser (right click open in Windows usually works).
May see the message box before the webpage has fully loaded.
Way B:
- Copy the contents of helloWorld1.js file into a sandbox like jsFiddle or repl.it and run it. (Well, you will miss my wacky color scheme on the website and the animation, but maybe you don't care).
Enjoy. If you're not going to delete it after using it, I would also copy the license file over.
Fair for a first program, wouldn't you say ?