A lot of forms can be boring and plain, don’t let yours blend in. This tutorial will show you how to spice them up with CSS classes and default values that change according to which form item is selected. All with just a splash of jQuery.
In a continuation to Branding the United States, this article explores the state government run websites used to target tourists. While many of these tourist department sites are much more aesthetically pleasing than their .gov counterparts, not all of them make the cut. Here’s the finest of the bunch.
Every website tries to communicate a different message. With some sites, it is hard to determine what exactly that message is. Here’s a list of things that detract from the individuality of a website, as well as bury or distract from the intended point.
The United States is made up of 50 different brands, so it makes sense that each is represented by a unique identity. Tourism thrives on a state’s appeal, and sometimes the state .gov sites just don’t cut it. This is where the Departments of Tourism come in. This showcase is made up of the state logos as found on the government sites responsible for making them look good.
We’ve touched upon the basic elements of form validation and error messages in part 1 of this series, which outlines a relatively static method identifying errors and validating a form. In this edition we are going to make the elements we began with more dynamic and reduce the amount of script required to do so using arrays.
Having a site visitor fill out a form is the primary way to gather information. Forms are the main line of communication with anyone that visits your site, so taking the time to make sure users fill them out correctly is key. Using PHP, we are able to ensure that all fields are properly filled out before submission, with required adjustments being called to attention through the use of error messages.