In this course, we'll go from start to finish building a simple web server with HTML form, with validation errors shown to the user. I'm a big fan of keeping things simple. When we move too far from the underlying technology (HTML forms, SQL, etc), we gain some speed of development for the easy things, but the hard things become really hard. We might know how to make a form in HTML, but we don't know how to get our tools to write the HTML form code that we want. Or, we might know what validation check we want to do, but we don't know how to get our validation library to let us check what we want. The design used in this course is flexible enough that you can implement the simple and the complex cases.
This will show you a way to achieve a lot with just Go+HTML+CSS. Once we've got the basics in place, I'll show you how to easily change the form so that it can be submitted without reloading the page, with just a splash of javascript via HTMX. HTMX allows you to have a bit of that magical no-reload updates without needing to use a full Javascript framework like React.
You'll be using Go's template system, our own simple validation library that we'll create as part of this course, Tailwind for CSS, all in a simple design that leaves you with a lot of power and flexibility.
57
5
TAKE THIS COURSE