Examples Form Elements

Form Elements

The Document Object Model, or DOM, represents the resulting structure of the web page. Using p5.js’s form elements, such as createInput(), createSelect(), and createRadio(), you can build different ways to take information submitted through a select, input, or radio button and update the DOM based on the information.