Photo by Victor Freitas on Unsplash
Well my friend, welcome to the real world of programming!
This is where beginners get stuck and it's quite common to happen all the time. Fortunately, I have gone through this "from-tutorial-to-lost-in-the-blank-screen" phase and I can offer you some practical advice that will help you to get passed a blank screen and build a real project.
- If else statements
- Style and className
- Arrays and Objects
Functions, variable, if-else statements, arrays, and objects are core fundamentals of programming which brings logic and interactivity of the website and you absolutely cannot afford to skip them.
Alright, I got the list, so how am I supposed to practice? Let's take a function for example. Read the documentation to get know everything about function - what is a function? What it can do? How does it work? and so on. You don't have to memorize them - just try to understand what it does conceptually.
Then play them around! Get the code examples from W3Schools on your text editor and make some changes, delete some lines and features, and see what happens. Spend the time as much as you need to get comfortable with function. It might take you days, but that doesn't matter. As long as you understand the concepts of function - you win!
When you are done with the function, do the same thing for the other features on the list above.
What should you do, then? One suggestion I can provide to you is building small projects.
If building small projects seems daunting to you (which is okay to feel by the way), then break these small projects into mini-projects.
To give you an idea of mini-projects - instead of building a complete to-do list, just create a feature that will append a text after clicking the button. Or create a feature that will display a number on the screen instead of building a calculator. I know this may seem way too simple, but it will help to build momentum - at least for me.
If you got some ideas of mini-projects on your own, that's even better.
If you find this post helpful, please share it so that someone will benefit from it.