I choose this video precisely because this video taught me the basics which are enough to start practising on my own and I wasn't looking for a complete and comprehensive tutorial at the time. Also, it was from the same channel I used to learn HTML and CSS from the very beginning and helped me to learn basic concepts of web development.
I mean what am I suppose to use Variable for? And Objects? And Loops? And what about Arrays? These concepts are not hard to understand when thinking them in isolation. But when it's time to implement these weird concepts into the projects, this is where the real problems start happening.
Tired of repeating the same codes again and again? Use variables to reference the codes and save your time for more important things. Want the action to happen to the web page or HTML elements? Use functions to fire the events. Want the event to happen it conditionally? You guessed it - use if/else statements to do the actions if the conditions are true or not.
Using this approach and what I've learned from that 7 minutes video, I created a small game called JS Dojo and it was around that time where I meet the tech community on Twitter using the #100DaysOfCode and #CodeNewbie hashtags. These communities are indispensable to complete this mini-project.
I borrowed some code snippets from my learning projects to use it as the foundations, but otherwise, most of the functionalities and styling are done by myself and have consulted Stack Overflow and Twitter for help whenever I got stuck for more than a day.
It took me almost 3 weeks to complete it and while it still has bugs and maybe ignoring best practices, I'm very happy with the results and add it in my portfolio.
- Don't be afraid to ask questions if there's something you don't understand or need to help fix bugs. Sometimes, the act of asking questions alone will be the key to understand the concepts and solve the problems. Some good places to ask questions including Stack Overflow, FreeCodeCamp forums, DEV, and Twitter using the #100DaysOfCode and #CodeNewbie hashtags.
- And the most important of all, be patient! Learning programming or any hard skills takes a long time and you won't be able to master it overnight. You will acquire this skill as long as you continue to put effort into learning it, practice it consistently, be persistent in time of hardships, and take an occasional break to help you absorb information and give your mind a time to rest.