aboutsummaryrefslogtreecommitdiff
path: root/build/css-js-mistake/index.html
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-06-08 13:43:37 -0400
committerBradley Taunt <bt@btxx.org>2024-06-08 13:43:37 -0400
commit16d28628aca9b2d356de31c319f5e7bc0f5b2b02 (patch)
tree11947abb71e38cbe75116871694a44c33d257763 /build/css-js-mistake/index.html
parentdcfb172704f3afb68a30425029ec834be2883274 (diff)
Remove incorrectly generated files, fix up markdown articles
Diffstat (limited to 'build/css-js-mistake/index.html')
-rw-r--r--build/css-js-mistake/index.html26
1 files changed, 2 insertions, 24 deletions
diff --git a/build/css-js-mistake/index.html b/build/css-js-mistake/index.html
index 8b7f9c1..7b0e643 100644
--- a/build/css-js-mistake/index.html
+++ b/build/css-js-mistake/index.html
@@ -3,11 +3,12 @@
<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;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
+<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>
@@ -16,53 +17,30 @@
<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>