Opens profile photo
Follow
Click to Follow justmarkup
Michael Scharnagl
@justmarkup
Freelance front-end web developer Mastodon: justmarkup@justmarkup.com
Berlinjustmarkup.comJoined February 2009

Michael Scharnagl’s Tweets

To become a good frontend developer, you need to: - accept that your work will never be perfect / done - realize that communication skills are more important than programming skills - be patient - have a high frustration tolerance
2
13
What HTML feature would you like to have? My wishlist: - HTML media queries <div media="(min-width: 30em)" - HTML includes <include src="component.html" loading="lazy">
3
4
It's really impressive that ~5 years ago, both :has() and container queries were considered as almost impossible (performance issues, endless loop...), and now ship in browsers.
1
56
Very good point here from In the past, I often used alt="" for images which I see as decorative, like a stock image for an article. In the future, will try to convince business to remove images which don't bring value for users, or add appropriate alt text.
Quote Tweet
Replying to @simevidas and @justmarkup
"Decorative" isn't well defined & I don't agree with those examples. See also tink.uk/text-descripti For me, decorative images are things you'd see in a pre-CSS (or very-early-CSS) page, when images were often used to create things like rounded corners or fancy section breaks.
1
Want to add an event listener for a button? You most probably want to use event.currentTarget instead of event.target Say you have a <svg> inside the button, if you click on the svg, target will refer to the svg, while currentTarget to the button.
1
10
Should every restaurant website look* the same? * same structure. If you've visited one before and looked for the menu, you would know how to find it on every other one. They should still look individual (not same bootstrap design), but same structure (like supermarkets).
1
3
Happy Global Accessibility Awareness Day #GAAD , tweeps! If you can do two things today, I would suggest: 1️⃣ learn one new thing about accessibility, or 2️⃣ fix an accessibility issue on yours or someone else's Web site. + Spread the word on #a11y 💕
3
124
Show this thread