Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Why do we use // for cmt while we can use <!-- text --> ?!
3 Antworten
+ 4
@Nikunj Arora
/* this is used in CSS and in JS */
+ 2
<!-- This comment only works in HTML -->
\* This is used in CSS *\
// This is used in JavaScript
+ 1
To avoid nesting