published on 2024/10/29
Beyond that, there is a bunch of other ways that you can add constraints to your input. Precisely, there are three ways to do it:
- Using specific type attribute values, such as "email", "number", or "url"
- Using other input attributes that create constraints, such as "pattern" or "maxlength"
- Using the setCustomValidity DOM method of the input
Expression Statement
published on 2024/10/28
At the core of Pollen is an argument:
- Digital books should be the best books we’ve ever had. So far, they’re not even close.
- Because digital books are software, an author shouldn’t think of a book as merely data. The book is a program.
- The way we make digital books better than their predecessors is by exploiting this programmability.
That’s what Pollen is for.
Pollen