Sign In

Latest Articles

522 articles · Fresh posts aggregated from independent blogs across the directory.

JJosh W. ComeauJosh W. Comeau·Jan 9, 2023

Data Binding in React

As developers, we don't like working with forms, but they're a critical part of most web applications! In this tutorial, you'll learn exactly how to wire up all of the different form controls in React. Never forget how to data-bind a checkbox or radio button…

joshwcomeau.comRead article
JJosh W. ComeauJosh W. Comeau·Nov 28, 2022

Color Formats in CSS

CSS gives us so many options when it comes to expressing color—we can use hex codes, rgb, hsl, and more. Which option should we choose? This turns out to be a surprisingly important decision! In this article, we'll take a tour of color formats in CSS, and see…

joshwcomeau.comRead article
JJosh W. ComeauJosh W. Comeau·Nov 22, 2022

An Interactive Guide to Flexbox

When we truly learn the secrets of the Flexbox layout mode, we can build absolutely incredible things. Fluid layouts that stretch and shrink without arbitrary breakpoints. In this action-packed interactive tutorial, we'll pop the hood on the Flexbox algorithm…

joshwcomeau.comRead article
JJosh W. ComeauJosh W. Comeau·Oct 11, 2022

A World-Class Code Playground with Sandpack

No developer blog or technical documentation site is complete without an interactive code playground. The CodeSandbox team recently released a wonderful tool called Sandpack, to help us create these live-updating code editors. In this tutorial, I'll show you…

joshwcomeau.comRead article
浅浅草物语浅草物语·Sep 28, 2022

浅谈易学(一)之小六壬

本文将向您介绍一篇关于小六壬的基础入门指南,这是一种传说由诸葛亮所创、简单快捷的古代占卜方法。本教程会详细解释其核心的六种格局,即大安、留连、速喜、赤口、小吉和空亡,并重点讲解如何通过具体方法起卦,特别是以时间为基础的两种实用方式:一种是使用农历的年月日时辰,另一种是直接使用时分数字,文中均给出了清晰的推算步骤。除了起卦方法,本文还简要探讨了支撑小六壬的理论基础,包括阴阳、五行和八卦等中国古代哲学概念,并说明了这六宫如何与这些理论相关联,例如将它们区分为阴阳属性,帮助您对这一预测术有更全面的理解。

chillg.deRead article

Page 23 of 29 · 522 articles