Code post archive prototype

by Jeremy Caudle

Iā€™m not quite sure how I want to display the 100 posts from my 100 Days of Code challenge, but I tried out an idea today using flexbox and progressive enhancement. I want to find a fun and interesting way to display the posts outside of their current blog listing format.

100 Days of Code (2021/02/09ā€“2021/05/19)

  1. Practice begins anew
  2. Playing with clip-path and an orange cat
  3. Quiz Prototype
  4. Palindrome flip
  5. Spinning Record
  6. Flexbox and SVG traffic light
  7. Final Fetch
  8. Web Audio API Practice
  9. Learning about fluid typography and CSS clamp
  10. Trying Horizontal Scrolling
  11. A Quick Test of Scroll Snap
  12. Clamp Wrapper
  13. Dark Mode and CSS Variables
  14. Working with prefer-reduced-motion
  15. Style Customizer Prototype
  16. Practice with the matchMedia method
  17. Wrong about CSS Variable fallbacks
  18. Fun with pseudo-elements
  19. Goofing around with grid and more
  20. Adding more books to the bookshelf
  21. Simple Button Animation Name Swap
  22. Simple Flexbox Header
  23. Object-fit and scaling images within an overflow container
  24. Picture Element Practice
  25. Playing with backdrop-filter
  26. Making bubbles
  27. Making Moving Bubblers
  28. Mock Recipe Listing
  29. Shifting Position Within A Grid
  30. Video Graphics Done With HTML, CSS, and JavaScript
  31. Animating with audio playback
  32. Trying out a Glitch animation
  33. Tricky times with CSS Grid
  34. Playing with an SVG of my old logo
  35. Making Faces - SVG and JavaScript
  36. Fun link styling
  37. Full-bleeds in CSS Grid
  38. Variable Font Refresher
  39. CSS Triangles and the Details Element
  40. Text on a path in SVG
  41. Simple Background Color Changer
  42. Improving my Background Color Changer
  43. CSS Only Tooltip
  44. Working more with loading JSON
  45. No Frills Card
  46. Swiping Cards
  47. Styling a newsletter signup
  48. Getting the hang of emoji
  49. Counting the days
  50. Post listing mockup using a three column grid
  51. First attempt at a scroll indicator
  52. Trying out new ways to style margins and padding
  53. Trying a Secret of Mana-esque menu
  54. Simple article with table of contents
  55. Sakura petals take shape
  56. More Clip Path Practice
  57. Update links when audio plays
  58. The Address Element
  59. Potential address for site footer
  60. Scroll Behavior Practice
  61. Finding the time and displaying it
  62. Grid Area and Grid Template Area Practice
  63. Search to remove
  64. Playing with the Fullscreen API
  65. Trying a keyboard shortcut with Vanilla JS
  66. Practice with the IS selector
  67. Spicing up links
  68. Simple Spotlight
  69. Practicing with Switch statements
  70. Goofing around with clip path
  71. Simple transition using clip-path
  72. Grid row and column span practice
  73. Send words into The Void
  74. Interesting float and flexbox technique
  75. Learning about a few modern CSS Pseudo Class Selectors
  76. Card display with horizontal scrolling
  77. Vanilla JS Lightbox Challenge
  78. Tiny tweaks to my Lightbox script
  79. Additional tweaks to my lightbox
  80. Table Practice
  81. Possible responsive table solution
  82. CSS Grid Fidget Toy
  83. Neat responsive flexbox layout
  84. Quick post prototype
  85. Learning About Regular Expressions
  86. Cursor styles reference
  87. We meet again slider
  88. Mocking up a sign up form
  89. Learning to build a better slider
  90. Learning to build a better slider part two
  91. Learning to build a better slider part three
  92. Learning to build a better slider part four
  93. Practice with grid and cat photos
  94. Randomizing cat photos in a grid
  95. Iterating through cats and JavaScript
  96. Cat gallery tweaks
  97. Working with toggles, cat photos, and classList
  98. This Post
  99. Coming May 18, 2021
  100. Coming May 18, 2021

View the code:

<div class="code-block">
            <div class="code-grid">

                <h2>100 Days of Code (2021/02/09ā€“2021/05/19)</h2>

                <ol class="code-posts">
                    <li><a href="" title=""><span>Practice begins anew</span></a></li>
                    <li><a href="" title=""><span>Playing with clip-path and an orange cat</span></a></li>
                    <li><a href="" title=""><span>Quiz Prototype</span></a></li>
                    <li><a href="" title=""><span>Palindrome flip</span></a></li>
                    <li><a href="" title=""><span>Spinning Record</span></a></li>
                    <li><a href="" title=""><span>Flexbox and SVG traffic light</span></a></li>
                    <li><a href="" title=""><span>Final Fetch</span></a></li>
                    <li><a href="" title=""><span>Web Audio API Practice</span></a> </li>
                    <li><a href="" title=""><span>Learning about fluid typography and CSS clamp</span></a></li>
                    <li><a href="" title=""><span>Trying Horizontal Scrolling</span></a></li>
                    <li><a href="" title=""><span>A Quick Test of Scroll Snap</span></a></li>
                    <li><a href="" title=""><span>Clamp Wrapper</span></a></li>
                    <li><a href="" title=""><span>Dark Mode and CSS Variables</span></a></li>
                    <li><a href="" title=""><span>Working with prefer-reduced-motion</span></a></li>
                    <li><a href="" title=""><span>Style Customizer Prototype</span></a> </li>
                    <li><a href="" title=""><span>Practice with the matchMedia method</span></a></li>
                    <li><a href="" title=""><span>Wrong about CSS Variable fallbacks</span></a></li>
                    <li><a href="" title=""><span>Fun with pseudo-elements</span></a></li>
                    <li><a href="" title=""><span>Goofing around with grid and more</span></a></li>
                    <li><a href="" title=""><span>Adding more books to the bookshelf</span></a></li>
                    <li><a href="" title=""><span>Simple Button Animation Name Swap</span></a></li>
                    <li><a href="" title=""><span>Simple Flexbox Header</span></a> </li>
                    <li><a href="" title=""><span>Object-fit and scaling images within an overflow container</span></a></li>
                    <li><a href="" title=""><span>Picture Element Practice</span></a></li>
                    <li><a href="" title=""><span>Playing with backdrop-filter</span></a></li>
                    <li><a href="" title=""><span>Making bubbles</span></a></li>
                    <li><a href="" title=""><span>Making Moving Bubblers</span></a></li>
                    <li><a href="" title=""><span>Mock Recipe Listing</span></a></li>
                    <li><a href="" title=""><span>Shifting Position Within A Grid</span></a> </li>
                    <li><a href="" title=""><span>Video Graphics Done With HTML, CSS, and JavaScript</span></a></li>
                    <li><a href="" title=""><span>Animating with audio playback</span></a></li>
                    <li><a href="" title=""><span>Trying out a Glitch animation</span></a></li>
                    <li><a href="" title=""><span>Tricky times with CSS Grid </span></a></li>
                    <li><a href="" title=""><span>Playing with an SVG of my old logo</span></a></li>
                    <li><a href="" title=""><span>Making Faces - SVG and JavaScript</span></a></li>
                    <li><a href="" title=""><span>Fun link styling</span></a> </li>
                    <li><a href="" title=""><span>Full-bleeds in CSS Grid</span></a></li>
                    <li><a href="" title=""><span>Variable Font Refresher</span></a></li>
                    <li><a href="" title=""><span>CSS Triangles and the Details Element</span></a></li>
                    <li><a href="" title=""><span>Text on a path in SVG</span></a></li>
                    <li><a href="" title=""><span>Simple Background Color Changer</span></a></li>
                    <li><a href="" title=""><span>Improving my Background Color Changer</span></a></li>
                    <li><a href="" title=""><span>CSS Only Tooltip</span></a> </li>
                    <li><a href="" title=""><span>Working more with loading JSON</span></a></li>
                    <li><a href="" title=""><span>No Frills Card</span></a></li>
                    <li><a href="" title=""><span>Swiping Cards</span></a></li>
                    <li><a href="" title=""><span>Styling a newsletter signup</span></a></li>
                    <li><a href="" title=""><span>Getting the hang of emoji</span></a></li>
                    <li><a href="" title=""><span>Counting the days</span></a></li>
                    <li><a href="" title=""><span>Post listing mockup using a three column grid</span></a> </li>
                    <li><a href="" title=""><span>First attempt at a scroll indicator</span></a></li>
                    <li><a href="" title=""><span>Trying out new ways to style margins and padding</span></a></li>
                    <li><a href="" title=""><span>Trying a Secret of Mana-esque menu</span></a></li>
                    <li><a href="" title=""><span>Simple article with table of contents</span></a></li>
                    <li><a href="" title=""><span>Sakura petals take shape</span></a></li>
                    <li><a href="" title=""><span>More Clip Path Practice</span></a></li>
                    <li><a href="" title=""><span>Update links when audio plays</span></a> </li>
                    <li><a href="" title=""><span>The Address Element</span></a></li>
                    <li><a href="" title=""><span>Potential address for site footer</span></a></li>
                    <li><a href="" title=""><span>Scroll Behavior Practice</span></a></li>
                    <li><a href="" title=""><span>Finding the time and displaying it</span></a></li>
                    <li><a href="" title=""><span>Grid Area and Grid Template Area Practice</span></a></li>
                    <li><a href="" title=""><span>Search to remove</span></a></li>
                    <li><a href="" title=""><span>Playing with the Fullscreen API</span></a> </li>
                    <li><a href="" title=""><span>Trying a keyboard shortcut with Vanilla JS</span></a></li>
                    <li><a href="" title=""><span>Practice with the IS selector</span></a></li>
                    <li><a href="" title=""><span>Spicing up links</span></a></li>
                    <li><a href="" title=""><span>Simple Spotlight</span></a></li>
                    <li><a href="" title=""><span>Practicing with Switch statements</span></a></li>
                    <li><a href="" title=""><span>Goofing around with clip path</span></a></li>
                    <li><a href="" title=""><span>Simple transition using clip-path</span></a> </li>
                    <li><a href="" title=""><span>Grid row and column span practice</span></a></li>
                    <li><a href="" title=""><span>Send words into The Void</span></a></li>
                    <li><a href="" title=""><span>Interesting float and flexbox technique</span></a></li>
                    <li><a href="" title=""><span>Learning about a few modern CSS Pseudo Class Selectors</span></a></li>
                    <li><a href="" title=""><span>Card display with horizontal scrolling</span></a></li>
                    <li><a href="" title=""><span>Vanilla JS Lightbox Challenge</span></a></li>
                    <li><a href="" title=""><span>Tiny tweaks to my Lightbox script</span></a></li>
                    <li><a href="" title=""><span>Additional tweaks to my lightbox</span></a></li>
                    <li><a href="" title=""><span>Table Practice</span></a></li>
                    <li><a href="" title=""><span>Possible responsive table solution</span></a></li>
                    <li><a href="" title=""><span>CSS Grid Fidget Toy</span></a></li>
                    <li><a href="" title=""><span>Neat responsive flexbox layout</span></a></li>
                    <li><a href="" title=""><span>Quick post prototype</span></a></li>
                    <li><a href="" title=""><span>Learning About Regular Expressions</span></a></li>
                    <li><a href="" title=""><span>Cursor styles reference</span></a></li>
                    <li><a href="" title=""><span>We meet again slider</span></a></li>
                    <li><a href="" title=""><span>Mocking up a sign up form</span></a></li>
                    <li><a href="" title=""><span>Learning to build a better slider</span></a></li>
                    <li><a href="" title=""><span>Learning to build a better slider part two</span></a></li>
                    <li><a href="" title=""><span>Learning to build a better slider part three</span></a></li>
                    <li><a href="" title=""><span>Learning to build a better slider part four</span></a></li>
                    <li><a href="" title=""><span>Practice with grid and cat photos</span></a></li>
                    <li><a href="" title=""><span>Randomizing cat photos in a grid</span></a></li>
                    <li><a href="" title=""><span>Iterating through cats and JavaScript</span></a></li>
                    <li><a href="" title=""><span>Cat gallery tweaks</span></a></li>
                    <li><a href="" title=""><span>Working with toggles, cat photos, and classList</span></a></li>
                    <li><a href="" title=""><span>This Post</span></a></li>
                    <li><a href="" title=""><span>Coming May 18, 2021</span></a></li>
                    <li><a href="" title=""><span>Coming May 18, 2021</span></a></li>


.code-block {
                font-family: Helvetica, Arial, sans-serif;

            /* base styles for any browser */

            .code-block h2 {
                text-align: center;
                margin: 1rem 0;

            ol.code-posts {
                margin: 1rem auto;
                line-height: 1.65;
                list-style: none;
                counter-reset: code-post;

            ol.code-posts li {
                padding: .25rem;
                position: relative;
                counter-increment: code-post;

            ol.code-posts li::before {
                content: counter(code-post, decimal-leading-zero);
                margin-right: .5rem;
                min-width: 3em;
                transition: color .25s ease-out;

            ol.code-posts li a {
                text-decoration: underline;
                text-decoration-thickness: 2px;
                text-underline-offset: 1px;
                text-decoration-color: blue;
                transition: text-underline-offset .125s ease-out, text-decoration-color .25s ease-out, color .25s ease-out, background-color .25s ease-out;

            ol.code-posts li a:hover, ol.code-posts li a:focus {
                color: purple;
                text-decoration-color: purple;
                text-underline-offset: 3px;

    @supports (display: flex) {

        ol.code-posts {
            margin: 1rem auto;
            max-width: 98%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            z-index: 1;

        ol.code-posts li {
            min-height: 5em;
            flex-basis: 31%;
            margin: 1%;
            border: solid 1px #dedede;
            background: #efefef;
            max-width: 40ch;
            z-index: 2;

        ol.code-posts li:hover {
            border: solid 1px orange;

        ol.code-posts li::before {
                content: counter(code-post, decimal-leading-zero);
                margin: 0;
                min-width: auto;
                color: rgba(255, 255, 255, .5);
                font-size: 2rem;
                z-index: 3;
                display: block;
                position: absolute;
                padding: 0;
                bottom: 0;
                right: .5rem;

            ol.code-posts li:hover::before {
                color: gray;

        ol.code-posts li a {
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 100%;
            position: relative;
            z-index: 4;
            padding: .5rem;
            text-decoration: none;

        ol.code-posts li a:hover, ol.code-posts li a:focus {
            background-color: rgba(255, 166, 0, 0.705);
            color: #010101;