nikolabojkovic / nikolabojkovic.github.io

0 stars 0 forks source link

Separate CSS & JavaScript in components #96

Open nikolabojkovic opened 2 years ago

nikolabojkovic commented 2 years ago

According to Angular coding style we should separate CSS & JavaScript (banner & header component).

Place css in classes and use angular to add or remove classes in html template.

Please remove Console.log() used for testing purposes from the code.

We should avoid mixing HTML/CSS/JavaScript because it is a bad practice and can lead to spaghetti code (very dangerous)