Well, the amount of time that it takes to learn JS really depends on the method you use. You can choose between books, ebooks, online courses, blogs, youtube etc.
I am more of a reader, so I prefer learning by reading the official documentation but one of my friends prefers watching video tutorials in youtube as he finds it difficult to learn by reading. However we both are doing good in our own ways.
Are you already comfortable with any programming language such as python, c++, PHP, etc? If your answer is yes and then you will find it much easier and quicker for you to learn.
- Efforts given:
- Method you use:
It depends on where and how you are learning this from. You might find some good websites for this but also try to find a good book that has good contents for learning. If you want to actually learn at a fast pace, you can do it by simply watching videos.
- Personal ability:
- Form submit without refreshing the page.
- Change button style such as font color on click
- Hide and show elements based on user screen size, device, etc.
- Creating a beautiful slideshow gallery
- Creating browser-based games.
When it comes to a specific concept-related challenge you have to be persistent and keep going through any frustration or confusion that might come. Remember programming gets easier with practice regardless of the language that you are learning at the moments. So remember the more you practice the better you will get.
Yes and no. We can create beautiful websites using just html and css but do note that HTML and CSS are static. By static I mean it will show the user whatever you type. It can’t do arithmetic and logical operations, conditional operations etc.
If you type “It took me 7*10 hours to learn HTML”. It will display the same thing to the user.
It took me 7*10 hours to learn HTML
“It took me “+7*10+” hours to learn HTML” it will display as follows
It took me 70 hours to learn HTML.
As you can see it is interpreting the multiplication instead of directly displaying as it is.
- Focus on the fundamentals. JS has variables, loops, if/else, etc – like any other language.
- Try to replicate an awesome feature you see on a popular website.
- Already search for a solution in google before asking help from someone.
- Keep practicing everyday.
- Never stop learning
Build your exercises around real-world problems to gain an understanding of the language and its applications. Be patient and don’t give up! Learning any new skill takes time and dedication.
Stackoverflow is your best friend.
Whenever you face a problem or difficulty try to search it in stackoverflow. I’m sure you will find the solution to your problem there 90% of the time.