task-20.10-code-principles
What I have changed
IC-RDP-project
Removed debug code in style.css
Applied the DRY principle
Created the –full-white-color variable and applied it in the style.css and in the mobile.css
Changed the index.html, style.css, and mobile.css according to the DRY principle
Applied the KISS principle
Replaced fragments like this
margin-top
:
44
px
;
margin-bottom
:
50
px
;
to
margin
:
44
px
auto
50
px
;
Did the same with the
padding
property
Learning-JavaScript-Course-Task
Applied the YAGNI principle
Removed the improvements that wasn’t in the task
Applied the SOLID principle
Refactored code in
Learning-JavaScript-Course-Task.optimized/task2/script.js
according to the Open/Closed principle