stvfrnzl,
@stvfrnzl@mastodon.online avatar

I decided (again) to prepare for the exam by the after I had some doubt of it's usefulness.

But after doing a non-technical workshop for newbies last week and believing that the will have some impact, I decided to go for it!

I'm using the @dequesystems prep course and read everything with 200% zoom. Unfortunately this makes paragraphs very long, so I'd like to share a I quickly created to shorten them:

stvfrnzl,
@stvfrnzl@mastodon.online avatar

@dequesystems ```
javascript: (() => {
const allParagraphElements = document.getElementsByTagName('p');

for (let paragraph of allParagraphElements) {
paragraph.style.width = '60ch';
}
})();


Here's a little tutorial on how to add them to you bookmarks: <https://www.freecodecamp.org/news/what-are-bookmarklets/>

#frontend #WebDev #HTML #CSS #JavaScript #a11y
stvfrnzl,
@stvfrnzl@mastodon.online avatar

@dequesystems I called the bookmarklet "60ch-paragraph" btw 🙃

lyokolux,
@lyokolux@fosstodon.org avatar

@stvfrnzl @dequesystems Why 60ch? I always target 80ch wen I build web interfaces, so I am curious 🧑‍🎓

stvfrnzl,
@stvfrnzl@mastodon.online avatar

@lyokolux @dequesystems just personal preference, but maybe I've read an article a long time ago about this topic where this number was mentioned, I can't remember 🤷‍♂️

  • All
  • Subscribed
  • Moderated
  • Favorites
  • accessibility
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • khanakhh
  • magazineikmin
  • anitta
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • megavids
  • JUstTest
  • All magazines