Forms are one of the most common features of a web application. They are also a common cause of headaches. The controls you use, the markup for the structural layout, and the styling all have to be considered.
What you build can look and behave differently depending on the browser being used, and how you build it can impact the accessibility of your application.
Stephanie Eckles has prepared several lessons that work through the creation of a complete form demo featuring the most common controls with a variety of attributes.
You'll create semantic fieldsets, add responsive styles without media queries, and prepare styles for accessible validation.
The demo is built with Sass and Eleventy. Don't worry if you don't have prior experience with these tools— Stephanie's code and explanations make it easy to follow along, and additional resources are available if you need them.
This course is new and up to date — if you are looking to build a form for your website, you should start here.
Staff reviewed: 4 years ago
This course is new and up to date — if you are looking to build a form for your website, you should start here.
This is still the best course I've found that explains how to build custom forms. I'm going to use these principles in a capstone project and have learned a lot. I would pay for an updated version of this course that takes a React approach. As a side note (not to be taken as a criticism) I've found that the radio buttons don't look that great compared to your article: "https://moderncss.dev/pure-css-custom-styled-radio-buttons/". I want to use this design system but with the radio button approach from your blog article since they look better.
This course was perfect to prepare me for a new gig.
This course has been incredibly resourceful.
Cascading style sheet (CSS) selectors are the glue that connects styling to HTML content. Understanding how they work enables a developer to write more semantic markup and keeps styling modular for better project maintenance.
Even the most experienced developer can learn something new when it comes to using and understanding how the browser interprets CSS. In this course, we will slowly style a website according to a mocked image.
CSS Grid layout is a two-dimensional layout method that gives you control over items in rows as well as columns. In this course we will look at multiple ways to divide the page into major regions with control of the size, position, and layer.