Why should we not start I'd or class name with a number? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why should we not start I'd or class name with a number?

25th Jun 2016, 5:37 PM
Bhavartha
Bhavartha - avatar
2 Answers
0
maybe #0 and .0 and all numbers are reserved for something else edit: tried to run with "first" and .first changed to "1" and .1 but the css doesn't stylised the paragraph
8th Jul 2016, 12:09 PM
Haywire Dednicat
Haywire Dednicat - avatar
0
maybe you can start with a "_" looks like this: #_0 or ._0 dont know if it will work
30th Oct 2016, 10:13 PM
Eddy Lucas
Eddy Lucas - avatar