Do Not Repeat Yourself
I’m a slow coder. That’s fine at the moment – it’s not my day job and no one is paying me to do it. I enjoy going step-by-step and seeing the results and tweaking this and that. What I despise doing, though, is over-coding.
One of my more-recent forays into coding found media queries which seemed to be the solution for responsive web design. At least that was the use-case, anyway. It never sat right with me. Create re-written sections of code for every possible window size and layout direction? Oh, screw that.
Luckily, it seems, with a little thought (and a few new developments in CSS), people have gotten on board with other ideas, like using min()
, max()
, clamp()
(or max(x, min(y, z))
anyway), and mercifully minmax()
in grid.
I, for one, code outside-in, and the layout is extremely important for me to get right. (Who needs content, right?) Grid has just been amazing.
Site update: Not much has changed in this short time with my birthday intervening hiccup, but there’s been some formatting inspired by skeleton.css and some data importing with my plants database in a .csv – never done that one before.
Post by Josh on 13 Jul 2020.
Related Posts
Jekyll Tag Cloud
Building from Thursday’s post, an alternative method for displaying tags by count had occurred to me: the classic “tag cloud”. Displaying tags in a list (or, ideally, within a bunch or a circle) with the font size of the tag representing visually the relative importance of a tag to the blog compared to other tags. It accomplishes the same goal as a simple ordered-by-post-count list (showing what you care about), but it’s visual and interesting.
Read moreTags Organized by Count (Size)
Jekyll is blog-aware and it runs on Liquid (plus Markdown, HTML, CSS, etc.). Liquid is a templating language, not a fully-fledged programming language. Jekyll+Liquid can make a great website/blog, but sometimes things to a little haywire.
Read moreSomething Different
Fear of Looking Dumb
“Your fear of looking stupid is holding you back.”
RuPaul Charles 30 June 2017