redundant <hr>s
Only one "horizontal rule" is necessary. Two is semantically inaccurate. If intent is styling, remember HTML is for structure and meaning, not styling.
duplicate complex code
As seen in #17, updating the code requires updating duplicates of old instances.
inline styles
Inline styling is one of the last resorts in CSS, because of a feature called specificity… basically, style has the power of a Star Wars "Star Destroyer", which makes it difficulty to properly override via a stylesheet.
Overview
Illustrate how to use CSS via stylesheet, not
style
attribute.Status
Related
Changes
hr
's<hr>
'sTesting
<hr>
styling to #17.UI
Notes
Original method had drawbacks:
<hr>
s Only one "horizontal rule" is necessary. Two is semantically inaccurate. If intent is styling, remember HTML is for structure and meaning, not styling.style
has the power of a Star Wars "Star Destroyer", which makes it difficulty to properly override via a stylesheet.