+ 2

Why is "." required on this question?

I can't seem to find any references to this in the material.

30th Jul 2016, 4:53 PM
Alex Blain
Alex Blain - avatar
3 Answers
+ 10
They have decided that a class name is preceded by a dot (.), and an ID name by a hash (#). #someID { ..some style.. } .someClass { ..some style.. }
30th Jul 2016, 6:20 PM
ZinC
ZinC - avatar
0
Yes
1st Aug 2016, 11:03 PM
Qutaiba salih mohaisin
Qutaiba salih mohaisin  - avatar
0
. is referring to class here nothing else
22nd Nov 2016, 8:36 PM
Arindam Bhattacharjee
Arindam Bhattacharjee - avatar