Our logo Kybercode
Home
Archive
Articles
Shared
Bits
About
Contact
Home
Archive Articles Shared Bits

About
Contact
RSS
Search
Eleventy Guide Static Web Dev
Super Easy Comments for Static Sites
Author
Cooper Gidge
Date
May 29, 2025
Let's add comments to a static site, in a super easy way. No paid comment services or anything like that. I'm using Eleventy but this works with any static site generator. Like your blog posts, you can store your comments in your repo with this comment system.
Read Article
How to Make a Reusable Bar Chart Component for your Static Site

By Cooper Gidge on May 29, 2025.

Why I'm Close to Abandoning Cloud Computing

By Cooper Gidge on May 28, 2025.

Featured
Kybercode's RSS Feeds
Everything Articles Shared Bits
Serverless Static
Netlify No Longer Has Overage Fees on the Free Plan
Shared by
Cooper Gidge
Shared on
Jun 1, 2025
Netlify no longer has overage fees on the free plan—hooray! No more surprise $100,000 bills!
Read Our Notes Read Article
Serverless VPS
Serverless and Surprise Bills
Author
Cooper Gidge
Date
May 31, 2025
I love serverless. Less time managing a server, more time coding my project. But the problem is there is a bad trend within the industry when it comes to setting budgets.
Read Article
Technical Debt
Maybe Don't Add That Feature
Shared by
Cooper Gidge
Shared on
May 31, 2025
The more features you add, the harder it is to maintain a project. That was a point I tried to make, but I think this article explains it much better.
Read Our Notes Read Article
Eleventy Guide Static Web Dev
Super Easy Comments for Static Sites
Author
Cooper Gidge
Date
May 29, 2025
Let's add comments to a static site, in a super easy way. No paid comment services or anything like that. I'm using Eleventy but this works with any static site generator. Like your blog posts, you can store your comments in your repo with this comment system.
Read Article
Editorial
Introducing...Comments!
Author
Cooper Gidge
Date
May 29, 2025
Introducing what I will retroactively call Version 3 of Kybercode! This version adds comments, fixes our graph component, and minor site tweaks that needed to get done.
Read Article
Eleventy Guide Static Web Dev
How to Make a Reusable Bar Chart Component for your Static Site
Author
Cooper Gidge
Date
May 29, 2025
Instead of using an open source solution (like Chart.js) and adding yet another dependency to this site, I created my own reusable bar chart component for this static site!
Read Article
Serverless VPS
Why I'm Close to Abandoning Cloud Computing
Author
Cooper Gidge
Date
May 28, 2025
The one thing I hate more than spending money is spending an unknown amount of money. I want my monthly bills to be consistent. But cloud computing bills are inconsistent and depend entirely on usage.
Read Article
CSS Web Dev
Cooper Gidge on May 28, 2025.

So overflow-wrap: break-word and CSS Grid don't work well together. But using minmax(0, 1fr) instead of just 1fr fixes it.

This defaults the min-width of the column to 0 instead of auto. For whatever reason, min-width: auto causes problems.

<div class="grid">
    <div><p>Without <code>minmax(0, 1fr)</code></p></div>
    <div><p>This div contains a very long word: someveryveryveryveryveryverylongword</p></div>
</div>
<div class="grid grid-2">
    <div><p>With <code>minmax(0, 1fr)</code></p></div>
    <div><p>This div contains a very long word: someveryveryveryveryveryverylongword</p></div>
</div>
.grid {
    display: grid;
    /* this doesn't work... */
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 400px;
    margin-bottom: 8px;
}
.grid div {
    /* overflow-wrap: break-word isn't working... */
    overflow-wrap: break-word;
    border: 3px dashed #FF0000;
}
.grid-2 {
    /* this DOES work... */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
false
Result
HTML Web Dev
Cooper Gidge on May 4, 2025.

What's the difference between readonly and disabled in form controls? I found myself asking this question when implementing a very specific feature.

I'm making a form to send data, but I also want to include some generic information that the user doesn't need to enter. So I added another <input> element and gave it a visually-hidden class. But then I was faced with a question...do I set it to disabled or readonly?

After consulting this thread, I settled on readonly because it appears that the value of disabled inputs won't be sent when the form is submitted.

Browsers CSS Web Dev
Safari is a Difficult Browser to Work With
Author
Cooper Gidge
Date
Mar 31, 2025
Using margin on a CSS Grid child doesn't work well with aspect-ratio on iOS 18.3.2. My latest of many discoveries that contribute to my complicated relationship with Safari and mobile web development.
Read Article
Browse More
The AI Bubble Burst, Just Not In The Way I Was Expecting

By Cooper Gidge on Jan 28, 2025.

Why I Don't Use JavaScript Frameworks

By Cooper Gidge on Jan 19, 2025.

How To Automate Open Graph Images With Eleventy

By Cooper Gidge on Dec 5, 2024.

Featured
Logo Kybercode

All things about software and website development.

RSS
Resources
Home Archive Articles Shared Bits Topics
About
About Contact
Copyright © 2025 Kybercode
Privacy Policy
Home
Archive
Articles
Shared
Bits