3 ms·
Why put "<li><s>" and "</s></li>" in the html file? Given your style you should clearly abstract this out static HTML. Edit: update. Odd that people are upvoti
by tlow 10y ago
Why put "<li><s>" and "</s></li>" in the html file? Given your style you should clearly abstract this out static HTML.
Edit: update. Odd that people are upvoting and downvoting this comment.
- nkozyra 10y agoPossibly because the underlying HTML is not really the point of the tutorial.
- tlow 10y agoIn web examples HTML is "not really the point"? Ok. I can actually accept that as reasonable. But isn't the style of this example to abstract static HTML out of the HTML file and generate it dynamically as needed? I'll grant that it's a rather small issue; nonetheless, I do think the author would be best served by said abstraction for style and consistency (to the last detail).