Why both tags are executed here?? Anybody plzz help... | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Why both tags are executed here?? Anybody plzz help...

https://code.sololearn.com/W45yeBmjMku3/?ref=app

29th Dec 2018, 8:04 PM
Ankish
Ankish - avatar
2 Réponses
+ 1
Jamie💐 That means it will only work when both the properties in the selectors are same. Is it?
29th Dec 2018, 8:17 PM
Ankish
Ankish - avatar
+ 1
Since, ID has higher priority than class selectors then ID should be executed. Jamie💐
29th Dec 2018, 8:08 PM
Ankish
Ankish - avatar