+ 3

Please When am I suppose to make use of Id and class.

21st Aug 2019, 2:42 PM
Esu Gabriel
Esu Gabriel - avatar
1 Resposta
0
when you want to call amultiple item or object belonging to a particular family use class e.g apple.orange mango banana{are all members of a class (fruit)} <div class ="fruit"> when specifying a particulat item use id e.g <div id ="mango">
6th Sep 2019, 7:27 PM
Ifeanyi Favour Kalu
Ifeanyi Favour Kalu - avatar