|
|
|
|
|
by pixelrevision
953 days ago
|
|
Thanks, I really didn’t get what they meant with the example they were using. Out of curiosity why is writing everything as a single element type more ergonomic? I’ve not done frontend web dev in a while and using <p> <h1> and so on seems like it would be more ergonomic to express intent. |
|
Same cannot be said for a lot of other HTML elements, which often have bizarre and inconvenient rules when it comes to style-ability, or nest-ability.