← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 114
  1. A typeof Typo

    When a pair of quotes makes a world of difference.

  2. Add Build Info to an 11ty Site

    Expose useful information about your Eleventy build to all of your templates using global data.

  3. A Set of Useful 11ty Filters

    Extend Eleventy's built-in filters with custom logic for these common use cases.

  4. Setting a font size in rems ensures that your text will scale when users change their browser's preferred font size.

  5. Overzealous Destructuring

    Excessive destructuring in JavaScript can make your code harder to read, trickier to debug, and more error prone.

  6. Chrome dev tools allow you to simulate loading a page in a different locale.

  7. Gated Content, Broken Locks

    Paywalls are often implemented incorrectly with client-side gating, making it easy for anyone to access the content.

  8. Self-hosting fonts can improve your site's performance and eliminate unwanted third-party tracking.

  9. Custom Markdown Components in 11ty

    Ever wanted to nest Markdown in HTML?

  10. HTML Input Validation with JavaScript

    Validate user input in real time with the checkValidity, reportValidity, and setCustomValidity methods.

  11. Understand the math behind fluid typography and learn how to programmatically generate a fluid type scale with CSS clamp and Sass.

  12. Modern Techniques for Writing Better CSS

    Write cleaner CSS using modern strategies like :is and :where, logical properties and values, clamp, gap, and aspect-ratio.

  13. Load-more buttons are more accessible than infinite scrolling, but they also steal keyboard focus when new content loads in.

  14. Use global data in 11ty to create a single configuration for fonts that you can reference in your templates and CSS.

  15. While imagery can enrich your content, it can also slow down your site if it's not used responsibly.

  16. Add comments to your blog using serverless functions and the GitHub Issues API.

  17. React's useState hook works well for managing simple state.

  18. NFTs Are a Problem

    NFTs are artificially scarce, make it easier to commit fraud, undermine the intellectual property rights of content creators, and encourage consumptive mining practices.

  19. Use this trick with CSS Grid to prevent layout shifts when swapping text in status indicators.

  20. You might not need another CSS class.

  21. Currently, 11ty doesn't allow you to pass object arguments to shortcodes in Liquid.

  22. With React.lazy, you can dynamically import components at run time to reduce the size of your JavaScript bundles.

  23. Automate Netlify Redirects in 11ty

    Tired of listing all of your Netlify redirects by hand?

  24. A Deep Dive on Promise.all

    Learn how to use JavaScript's Promise.all method to await multiple async operations, as well as how to write a custom implementation.

  25. In TypeScript, type predicates allow you to narrow down an abstract type to a more concrete type with a simple assertion.

  26. The 62.5% Font Size Trick

    Once you get used to thinking in rems for font sizing, you'll find that it's easy to express familiar powers of two.

  27. Don't Use a Fixed Line Height

    In typography, the ideal line height for text depends on a variety of factors, including font size, line length, and font family.

  28. An in-depth review of 11ty, an extensible static site generator written in Node that supports a variety of template languages.

  29. If an iframe re-renders in React, it can interfere with back navigation in your browser.

  30. Make Atomic Git Commits

    Commits that have a single responsibility make it easier to troubleshoot code regressions and time travel in Git.

  31. How to Format on Save with ESlint

    Set up ESLint to format on save in two popular code editors: VS Code and neovim.

  32. Line endings can differ from one OS to another.

  33. Why Developers Should Write

    Writing is an important soft skill for developers and can help you build a more successful career.

  34. When you set a width and height on image tags, browsers are able to reserve the correct amount of space ahead of time to minimize layout shifts as the images are downloaded.

  35. Why You No Longer Enjoy Reading

    Reading books isn't something that everyone enjoys.

  36. Why I Don't Like Tailwind CSS

    On paper, Tailwind CSS sounds like a great idea.

  37. Follow along with the examples in this in-depth guide to learn how to draw SVG icons and simple shapes by hand.

  38. Creating a Vertical Rhythm with CSS Grid

    Margins are commonly used to space paragraphs, but CSS Grid offers a more intuitive approach that defines spacing at the layout level.

  39. Rest in Peace, Flash

    If it were up to me, things wouldn't end this way.

  40. You got a perfect score on an accessibility audit.

  41. Sometimes, a React component needs to allow users to render a custom tag.

  42. How to Undo Changes in Git

    If you messed up your git repo, don't panic.

  43. Does Web Performance Matter? It Depends.

    Some big brands have a slow page load speed, but they still rank well on Google.

  44. Creating Aspect Ratios in CSS

    Define aspect ratios in CSS using the modern aspect-ratio property or a trick with percentage padding.

  45. Hesitation Is Defeat

    After a one-year hiatius from Sekiro, I returned to face the final boss—and, through painful persistence, triumphed.

  46. In JavaScript, promises allow you to write asynchronous code.

  47. Improve your page load speed by using a modern image format and lazily loading images.

  48. Don't Mind the Leetcode Grind

    Leetcode is a polarizing topic in the software industry.

  49. An Introduction to HTTP Cookies

    Learn why HTTP cookies are needed, how they're used, where they're stored, and how they impact security and privacy.

  50. Writing Semantic HTML

    Learn how to use the right HTML elements and attributes to create accessible documents.