3 ms·
My reasoning is that CSS is not a language, it's just a configuration file. It doesn't have a console.log, but it has `background: red`. JS as a language and
by drinchev 10y ago
My reasoning is that CSS is not a language, it's just a configuration file.
It doesn't have a console.log, but it has `background: red`.
JS as a language and as such ( especially it's callback / event-driven nature ) makes it harder to debug.
- TimJYoung 10y agoYes, but with the browser debugger you can step through the JS code and visualize what it is doing. How can you visualize what is happening with CSS, short of debugging the internal browser code ?
- RodericDay 10y agoselect an element and see which rules are active on it?