These two simple debugging tricks will save you a lot of time if you're a front-end developer: 😊 1. * { border: 1px solid red; } in CSS 2. console.log() in JavaScript I can't even tell you how many times these techniques have helped me avoid spending lots of time fixing problems in my code. Visit w3schools.com JavaScript Mastery to Learn Programming! 👈 #frontenddeveloper #debugging #javascriptdeveloper #csstrick #RahulChoudhary
Just a little over *:hover{ border : 1px solid red;} *{ border : 1px dotted red; } As for log error or exception - error,info,warn object array or map table, dir, debug, You probably won't use group unless you're writing a library But worth working with it.
I've never even learned how the debugger works because I can just console.log() everywhere and that tells me where the problems are and what state the buggy code is in.
Also backgroundColor : red 😂
bg-red-500
Bg-red-900 text-red-900
1px solid red 😂
Best debugging tools
I thought I was the only one who did this, but no.😅😅
Thanks for tagging us and spreading the word! 🚀