CutCodeDown

Web Development => Other Web Programming => Topic started by: Jason Knight on 12 Aug 2020, 01:38:58 pm

Title: Been writing on Medium
Post by: Jason Knight on 12 Aug 2020, 01:38:58 pm
I've been writing on Medium. Not a whole lot I've not said before -- even on this site -- but I'm hoping that making similar articles over there will help expand my reach. Figured I'd put this here since the articles cover a pretty big range of topics.

https://medium.com/@deathshadow/news-flash-youve-probably-been-using-html-wrong-2dfb62755280

https://medium.com/@deathshadow/stop-using-array-foreach-for-everything-for-of-use-it-c481434e3f3

https://medium.com/@deathshadow/html-css-frameworks-monuments-to-ignorance-incompetence-and-ineptitude-4c1db2571de9

https://medium.com/@deathshadow/base64-is-not-a-modern-64-bit-technique-its-a-6-bit-64-value-compatibility-translation-for-4e65450aa823

https://medium.com/@deathshadow/accessibility-101-good-client-side-javascript-should-enhance-an-already-working-page-not-be-the-bf92741d2310

Even though it's a lot of lather, rinse, repeat, there might be a few details you folks might find handy.
Title: Re: Been writing on Medium
Post by: Jason Knight on 10 Sep 2020, 05:22:54 am
New Article you might find of interest. I'm probably by end of week doing one about modal dialog driven sites that don't need JavaScript either... then probably one covering a shockingly easy way of doing day/night themes.

https://medium.com/@deathshadow/tabbed-interfaces-without-javascript-661bab1eaec8

Just curious, and I'll probably ask this on a bunch of forums... are there things people usually use JavaScript for you know of, that you don't need it for? I'd like to put together a repository of links to articles on the topic and/or create unique articles on the topic.

In accessibility consulting I far too often come across pages where people dove for the JS for everything, and it's often hard to nail down the differences between things that just don't need JS to be done, and the stuff that flat out doesn't belong on websites in the first place.
Title: Re: Been writing on Medium
Post by: Jason Knight on 11 Sep 2020, 06:36:55 am
Next article in the series is up:
https://medium.com/@deathshadow/modal-dialog-driven-websites-without-javascript-16e858615780

If you want to skip the middle man and get straight to the demo and code:

https://cutcodedown.com/for_others/medium_articles/modalSite
Title: Re: Been writing on Medium
Post by: mmerlinn on 11 Sep 2020, 11:57:21 am
What are the minimum browser requirements for this to gracefully degrade?
Title: Re: Been writing on Medium
Post by: Jason Knight on 11 Sep 2020, 12:57:42 pm
What are the minimum browser requirements for this to gracefully degrade?
The modal interface is IE11/newer only. I think for Firefuxxors it's 27.

I could probably make it work back to IE9 if I added a DIV and used display:table.

The tabbed interfaces one is likely the same, but honestly as I've stopped giving a flying **** about IE for most projects (since everyone else has -- bootstrap, react, angular) I'm not exactly going to bend over backwards on it.

Just as I really am no longer going to waste time trying to support FF 76/earlier.
Title: Re: Been writing on Medium
Post by: Jason Knight on 17 Sep 2020, 03:49:32 am
Another new article:

https://medium.com/@deathshadow/day-night-colour-switching-using-css3-variables-and-minimal-vanilla-javascript-a54fa36c550f