"Hello, World!"

avatar
(Edited)

After several discussions with my friend @contrabourdon I was intrigued about learning JavaScript and with the recent creation of STEMGeeks community, I decided to give it a try.

I googled for online tutorials and I found site:

https://www.learn-js.org

The first exercise I did was to write a phrase "Hello, World!" which wasn't hard at all. It goes with the principles of Kaizen which I wrote about in my previous post.

All I had to write was this:

console.log("Hello, World!")

That's it for my first lesson!

Next I will learn about the variables and types.

UPDATE: @javirid advised never forget to use ";" after each command. So here it is:

console.log("Hello, World!");

Thank you @javirid! I'm sure I will be doing lots of mistakes along the way. It's like mistaking sharps with flats on the piano when one just starts learning to play.



0
0
0.000
8 comments
avatar

Never forget to end every command with ";". JavaScript doesn't require it, but bad things could happen.

0
0
0.000
avatar

Thanks for the advice! Will update it...

0
0
0.000
avatar

Congratulations for completing the "Hello, World!" app in Javascript! I look forward to reading about your journey.

It might be later down the track, but if you plan on using your Steem keys in Javascript applications, make sure you use a test account. You don't want to make mistakes with keys and have them fall into the wrong hands. I use a test account called @contrebasse :)

0
0
0.000
avatar

hi
I'm just an amateur in JavaScript,
but I'd like to share some of my favourite resources.

https://javascript.info/

I noticed that books usually help to get deep understanding of the subject...
My fovourite ones are

Nick Morgan - JavaScript for Kids, A Playful Introduction to Programming - 2014
(highly recommended)

Professional JavaScript for Web Developers by Nicholas C. Zakas;

Pro JavaScript Techniques - 2015, Resig J;

Secrets of the JavaScript Ninja, Second Edition, 2016, Resig J;

0
0
0.000
avatar

Thanks for recommendations! Do you have your Amazon affiliate link to the books? I would gladly use your link to buy...

Posted using Partiko Android

0
0
0.000
avatar
(Edited)

@organduo
"Do you have your Amazon affiliate link to the books"
no, I haven't.

I can tell you (on Discord) where to get all those books for free if you want

0
0
0.000
avatar

Thanks! I already ordered the book from Amazon. Looking forward to studying from it

Posted using Partiko Android

0
0
0.000