During the course of user interaction, we may wish to give users an option. In the choose-your-own-adventure of navigating a website, choices make users feel like our interfaces are friendly. That friendliness, in turn, provides our site a stickiness that means users will tell others and come back themselves.
Great user interfaces are 60% planning and 40% code. We are always certain to begin with a good plan of how our users will interact. Coding too soon, before we have a good design will cause unnecessary rewrites and confusion in our code that will add to the maintenance cost of an application.
In this recipe, we will create a hyperlink upon user interaction to prompt secondary user interaction. The greatest thing about programming is choosing our adventure!
<div id="text" style="width:300px;font-family:fantasy"> You and the other adventurers turn the corner of the long, damp hallway. There is a door through...