I started with implementing the fancy content sliders with a jQuery plugin. At that time, I copied the code from the examples, played with it, pasted into a document ready function and I had a fancy content slider. I had quite some fun with it, I feel like I could do more than just HTML & CSS.
But after a while, I had bugs and didn’t know how to fix them. Error’s like …. is undefined etc. Or the slider wasn’t working anymore. I had to ask my colleagues to help me out, the fixed it for me in a second.
While the helped me, I didn’t understand what the did, to make it work.
The best thing my mentor told me, Ray if you want to be better with jQuery, AngularJS or other Framework/Library, you should go back to the basics. I thought, back to basics, yeah right (that was what I thought at that moment)! Because I wanted to work with AngularJS.
Well after a few days I told my mentor I didn’t listen to him. Because I was stuck with a thing with AngularJS I didn’t understand. He laughed his ass off! (From the start he knew that I would come back to him :-) )
The fun part
I think a lot of Developers have different opinions about this, so I will share mine. If you have some additions, please share them in the comments.
- For loops
- If, else & if else
- While loops
- Data types
- Self-Invoking Function Expression
- Global & Local Scope
- Design Patterns
- Module Pattern
This will help you!
Do you need help or advice?
Above all enjoy the ride!!
Originally published at Mr Frontend Blog.