What do you consider too many <div> tags? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What do you consider too many <div> tags?

I'm just curious what amount of <div> tags do you consider too many???

25th Sep 2019, 11:05 AM
Anthony Johnson
Anthony Johnson - avatar
5 Answers
+ 3
It's all relative to the amount of content.
25th Sep 2019, 11:40 AM
Sonic
Sonic - avatar
+ 2
Div tag mean Division. So how many Division you prefer?
25th Sep 2019, 11:31 AM
Rabiul Hasan
Rabiul Hasan - avatar
+ 2
I made this code right here... I know there are better ways to do what I've done in this code like using jquery but this is just an example. Is this too much? https://code.sololearn.com/WNzojN1g8o1b And for some reason it doesn't work on mobile but it does on the PC so idk.
25th Sep 2019, 12:09 PM
Anthony Johnson
Anthony Johnson - avatar
+ 1
Yes
25th Sep 2019, 11:10 AM
KfirWe
KfirWe - avatar
0
Ok. With those awesome answers...the follow up question is..does having alot of divs take a toll on performance?
25th Sep 2019, 11:52 AM
Anthony Johnson
Anthony Johnson - avatar