Choose a color!

Choose a color by clicking a button below.  You’ll be redirected to see the result.

Each button is formatted with a unique url to another page, for example the “blue” button links to: 

Chosen-demo

The first part is called a query var and follows the syntax of:

?key1=value1&key2=value2

Next (and always last) is anchor tags such as:

#red or #blue

The first part, the query var, passes data from this page to the next and the second part tells us where to anchor on the page (looks for matching id) and scrolls the element with that id into view.