Re:Writing HTML by Hand
by fuzztester on Wednesday September 20, 2023 @07:18AM
(#37582817)
>I also code SVGs by hand and it's surprisingly easy and straightforward; most (not all, but most) drawings can be approximated by combining elementary shapes (instead of paths).
Interesting. Do you have any examples of thise approximations?
Here's the Y of HN that I posted as a comment a couple of months ago:
Re:Writing HTML by Hand
by fuzztester on Thursday September 21, 2023 @12:20AM
(#37593187)
Thanks.
But I do write HTML templates by hand when I code webapps; it's cleaner and more efficient than use some kind of library.
I tend to use DIVs with custom data- attributes; I don't know if it's a good or bad practice but I'm not familiar enough with other approaches and I'm used to it.
I also code SVGs by hand and it's surprisingly easy and straightforward; most (not all, but most) drawings can be approximated by combining elementary shapes (instead of paths).