Marko Denic Tech
Practical web dev tips, tools, and resources, every week.
- Website
- markodenic.tech · all feeds from this site
- Feed URL
https://markodenic.tech/feed/
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
AI answers link to the exact sentence. Your site can too
AI answers link straight to the sentence they quote. Your browser can make these links too. Add one button so your readers can share them.
-
Style the native select in 4 lines of CSS
The native select is finally stylable. Add appearance: base-select and get icons, descriptions and a custom dropdown with keyboard and screen reader support built in.
-
Show users exactly what the AI changed before they accept it
AI rewrites look fine until one quietly changes a price. Show users a word-level diff with Accept and Reject in about 30 lines of JavaScript, no library.
-
Make your stats count up with zero JavaScript
Static numbers are easy to scroll past. Register one custom property as an integer and CSS counts your stats up from zero, no library and no JavaScript loop.
-
Your AI chat scrolls wrong. Fix it in 4 lines of CSS
Stop dragging users back to the bottom while the answer streams. Four lines of CSS make your chat follow new text, and stop the moment the user scrolls up.
-
Highlight search matches without touching the DOM
Stop wrapping search matches in mark tags. The CSS Custom Highlight API paints every match without adding a single element to your page.
-
Your articles need a “Copy for AI” button
Your readers already paste your articles into AI chats. Give them a clean Markdown copy instead, with one button and about 30 lines of JavaScript.
-
Stream AI answers word by word in 15 lines
Stop making users stare at a spinner while your AI feature thinks. Stream the answer word by word with 15 lines of JavaScript, no library, in every modern browser.
-
Let AI agents use your site with 3 HTML attributes
AI agents guess their way through your UI. Add 3 HTML attributes to your search form and they call it like a function instead. No library, no backend.
-
Skeleton loaders in pure CSS
Spinners make pages jump and flicker. Build a skeleton loader in pure CSS that only appears when loading is actually slow. Zero dependencies.