In C++, this keyword usually refer to the object ifself. It always uses in the method of class. And there are no any tricks with this keyword. But in Javascript, this keyword is affected by many things such as context of object, the usage of functions, …
[Read More]
Some common problems and avoid them in BEM/CSS
When we work with BEM methodology in CSS, we have some problems about nesting elements in blocks, changing the states of some elements … It makes our code difficult to read, the code is longer than before.
[Read More]
Use BEM with CSS
To the software development, naming convention is very important for maintaining code easily, reducing time to read code, … So, when we work on web development, naming convention in css is needed to know.
[Read More]
The architecture of Angular
Before, we has only one version that is AngularJs, or Angular 1.x. The architecture of AngularJS is very different with the version of Angular at the moment. Because AngularJS is utilizing MVC architecture pattern, then, Angular 2.x or above uses MVVM pattern, Dependency Injection, …
[Read More]
Knowledge about SASS
To write CSS professionally, we have to learn one of the CSS preprocessor like SASS, SCSS, LESS, … Because when using one of them, we do not repeat code, easily maintain CSS code, …
[Read More]