Day 98: Vanilla JavaScript isn’t So Scary

More work on learning the basics of JavaScript and data structures. I’ve always felt uncomfortable building vanilla JavaScript apps because I never studied all the global bindings. I learned through tutorials so I only ever learned what I needed to know. Reading this book has been challenging at times but overall a breath of fresh air. This experiences has really motivated to keep reading more books on programming. Especially on languages. Next up is React. I can always improve with that.

TLDR;

Okay, so here are the highlights of what I did:

  • Data structures -> Continued going through a freeCodeCamp YouTube video covering data structures for beginners. I covered the section on Queues. It’s like the exact opposite of a Stack.
  • JavaScript -> Finished reading through chapter 14 of “Eloquent JavaScript” by Marijn Haverbeke. It covered the Document Object Model in web browsers and how we can use JavaScript and the DOM to access all the elements on a webpage. I finished up the section on styling, and manipulating position of elements using position properties.

Queues

A Queue is a Sequential Access Data Structure. It follows the FIFO principle (First In, First Out).

  • Accessing: O(n)
  • Searching: O(n)
  • Inserting: O(1)
  • Deleting: O(1)

Goal For Round 6 of the #100DaysofCode Challenge

This is my sixth round of the “#100daysofcode” challenge. I will be continuing my work from round five into round six. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in term derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.