Closed dearlordylord closed 1 year ago
elem.parentNode.outerHTML = elem.parentNode.outerHTML
Business value is people reading articles see our anchors are up to HTML standards and trust our technical skills more.
It's also convenient when people want to share links to specific paragraphs.
Before: https://www.youtube.com/watch?v=yvmjwA7Id2k
After: https://www.youtube.com/watch?v=gqRqC3NQ3-Q
elem.parentNode.outerHTML = elem.parentNode.outerHTML
code and documented itBusiness value is people reading articles see our anchors are up to HTML standards and trust our technical skills more.
It's also convenient when people want to share links to specific paragraphs.
Before: https://www.youtube.com/watch?v=yvmjwA7Id2k
After: https://www.youtube.com/watch?v=gqRqC3NQ3-Q