Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 24, 2020 07:01 pm GMT

Finally Understanding JavaScript

I can't tell you enough, how much I am starting to get JavaScript after four weeks of tutorials, reading, challenges, and games! This really was a learning experience for me. I had to figure out how my brain wanted information presented for it to stay put.

I got so excited when I finally understood how loops work with the help of Head First JavaScript Programming A Brain-Friendly Guide by Eric Freeman & Elisabeth Robson. If you are having trouble diving into Javascript (like I did), I highly recommend this book if you are a visual learner. There were pictures and arrows and browser examples. I never had been so excited to read a book and try out the exercises!

I even learned how to code Happy Birthday!

var name = "Joe";var i = 0;while (i < 2) {  document.write("Happy Birthday to you.<br>);  i = i + 1;}document.write("Happy Birthday dear " + name + ",</br>");document.write("Happy Birthday to you. </br>;

I also learned what pseudocode is, which was very helpful to understand the outline of what's going on before you even insert the JavaScript code. It reminds me of the fifth grade when we would brainstorm our short stories--figuring out the beginning, what will happen in the middle, and how we get to the end. I don't know why I didn't think of writing out the logic first! It makes so much sense to visually see what codes are appropriate for each action.

My mind is blown. Functions, arguments, parameters, global and local variables . . . I'm quite enjoying JavaScript!

Last Week's Accomplishments:

  • Attacking JavaScript at a different angle

Check it out:

  • Books I've Started:
    • Head First JavaScript Programming A Brain-Friendly Guide by Eric Freeman & Elisabeth Robson

On My Mind:

  • Who out there is a visual learner? Do you have any tips for making learning code fun? Or understandable?

Until next week!
Alt Text


Original Link: https://dev.to/freddilynne/finally-understanding-javascript-50hb

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To