aboutsummaryrefslogtreecommitdiff
path: root/build/posts/css-js-mistake/index.html
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-06-10 09:41:25 -0400
committerBradley Taunt <bt@btxx.org>2024-06-10 09:41:25 -0400
commit07e4a2dafe248280b5610f8c7d09b0f30b530f54 (patch)
tree8a145d1d4d07e1278a837ff15dadccc322d27515 /build/posts/css-js-mistake/index.html
parent16d28628aca9b2d356de31c319f5e7bc0f5b2b02 (diff)
Initial modifications to rebuilt only changed files based on mod date, performance updates
Diffstat (limited to 'build/posts/css-js-mistake/index.html')
-rw-r--r--build/posts/css-js-mistake/index.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/build/posts/css-js-mistake/index.html b/build/posts/css-js-mistake/index.html
new file mode 100644
index 0000000..7b0e643
--- /dev/null
+++ b/build/posts/css-js-mistake/index.html
@@ -0,0 +1,68 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="color-scheme" content="dark light">
+ <link rel="icon" href="data:,">
+ <title>A Reality Where CSS and JavaScript Don't Exist</title>
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1 id="a-reality-where-css-and-javascript-dont-exist">A Reality Where CSS and JavaScript Don&#8217;t Exist</h1>
+<p>2021-11-03</p>
+<p><em>This is my personal opinion. Please leave your pitchforks at the door&#8230;</em></p>
+<p>I love CSS. I can spend hours deep diving into a website&#8217;s CSS system and never find myself getting bored. It&#8217;s pretty amazing to see the problems other designers are able to solve with just a little bit of custom styling and determination.</p>
+<p>I like JavaScript. It serves it&#8217;s purpose and makes complex functionality on the web easier to wrangle in and understand.</p>
+<p><em>But I think both should have never come into existence</em>.</p>
+<h3 id="heresey">Heresey!</h3>
+<p>I know, I know - this website itself uses a little, teeny-tiny amount of CSS. I am indeed a hypocrite - but did I ever claim that I <em>practice</em> what I preach? At least this personal website is JavaScript-free&#8230; (apart from a handful of CodePen examples embedded in some of the tutorials).</p>
+<h3 id="moving-on">Moving On&#8230;</h3>
+<p>I&#8217;m not a complete idiot. I realize that the web has evolved significantly over the years, and to propose that it should have remained stagnant with it&#8217;s original concept of &#8220;paged documents&#8221; is foolish. But that <em>is</em> what I&#8217;m suggesting - at least, partially.</p>
+<h3 id="consistent-boring">Consistent &#38; Boring</h3>
+<p>Out there in the multiverse is a reality where the web is a complete borefest. Information is the only driving factor to visit a &#8220;web page&#8221; and PWAs have never come to exist. Custom styling, fancy interactive animations and single-page functionality isn&#8217;t even something that can be implemented. The web is just a system of HTML&#47;plaintext documents sharing information and data. Users browse the web in quick bursts to satisfy their queries or read something interesting. Then, they return to <em>real life</em>.</p>
+<p>My goodness what a <em>beautiful</em> reality that would be. Consistent, boring and wonderful.</p>
+<h3 id="wait---arent-you-a-designer">&#8220;Wait - Aren&#8217;t You a Designer?&#8221;</h3>
+<p>Yes - and again more hypocrisy. My livelihood depends on software requiring custom UIs and properly audited UX flows. By suggesting this change I am throwing myself under the bus and putting myself out of work. All my experience would become worthless and the world of software <em>design</em> would cease to exist.</p>
+<p><strong>I would be okay with that</strong>. If it meant the web as a whole was a better place - so be it.</p>
+<h3 id="a-look-at-the-new-world">A Look at the &#8220;New World&#8221;</h3>
+<p>Sometimes it is easier to visualize a concept instead of just discussing it. Below you can find an example of a &#8220;converted&#8221; website[^1] showcasing how sites would look and feel in this design-less reality:</p>
+<ul>
+<li>Wealthsimple: <a href="https://www.wealthsimple.com/en-ca/">Current Website</a> &#47; <a href="/etc/html-only/wealthsimple/">New Version</a></li>
+</ul>
+<p>As you can see, all the <em>fluff</em> has been removed from the existing design and only the content remains. No scroll-jacking or extra JavaScript libraries are downloaded. Users can easily skim through all the content and screen readers won&#8217;t struggle through any custom elements. It also loads incredibly fast.</p>
+<p>Of course, to our[^2] eyes, this design might look ugly or seem as though the site&#8217;s CSS failed to load - but in a reality where this is the standard, it is beautifully minimal. Either way, I find that this was at least a fun thought experiment and hopefully leaves you thinking about how the web <em>could have been</em> as well.</p>
+<p>Now, back to designing UIs for the web&#8230;</p>
+<h2 id="refs">Refs</h2>
+<ol>
+<li>Selected site based on my own personal preference</li>
+<li>Referring to current users of the web</li>
+</ol>
+<footer role="contentinfo">
+ <h2>Menu Navigation</h2>
+ <ul id="menu">
+ <li><a href="/">Home</a></li>
+ <li><a href="/projects">Projects</a></li>
+ <li><a href="/uses">Uses</a></li>
+ <li><a href="/wiki">Wiki</a></li>
+ <li><a href="/resume">Resume</a></li>
+ <li><a href="/colophon">Colophon</a></li>
+ <li><a href="/now">Now</a></li>
+ <li><a href="/donate">Donate</a></li>
+ <li><a href="/atom.xml">RSS</a></li>
+ <li><a href="#top">&uarr; Top of the page</a></li>
+ </ul>
+ <small>
+ Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
+ Maintained with ♥ for the web. <br>
+ Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
+ The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
+ </small>
+</footer> \ No newline at end of file