+ 1
Why a class or id can't be started with a number?
4 Antworten
+ 7
It can (in HTML and JS, that's what i did in my code "ChessBoard") it is impossible in CSS though…… ~_~
+ 1
thank you @valentinhacker
+ 1
iI think it has to do with how the computer memory works, if its a number first on the name it (the compiler or browser) confuses that name with the memory adress name which starts with numbers
+ 1
in computer programming it is a convention you can't store memory any variable that starts with a number