Created
June 28, 2012 02:53
-
-
Save josephmosby/3008524 to your computer and use it in GitHub Desktop.
Choose Your Favorite Color
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Choose Your Favorite Color</h1> | |
<p>You will be shown two colors side by side. Pick your favorite color of the two. This is based on your personal opinion.</p> | |
<p> </p> | |
<p>Choose your color:</p> | |
<table width="100%" cellpadding="5px" border="1" bordercolor="black"> | |
<tbody> | |
<tr height="100px"> | |
<td bgcolor="${color_hex1}"><br /> | |
<!-- the ${color_hex1} variable is the syntax for the first color we'll input. --> | |
<br /> <br /> <br /> <br /></td> | |
<td bgcolor="${color_hex2}"><br /> | |
<!-- the ${color_hex2} variable is the syntax for the second color we'll input. --> | |
<br /> <br /> <br /> <br /></td> | |
</tr> </tbody> </table> | |
<table width="100%" cellspacing="4" cellpadding="0" border="0"> | |
<tbody> <tr> <td align="center"> | |
<input type="radio" value="${color_hex1}" name="Q1" /></td> | |
<!-- The variable must also be input for your radio button choice. --> | |
<td align="center"><input type="radio" value="${color_hex2}" name="Q1" /></td> | |
</tr> | |
<tr> <td align="center"> | |
<span class="answertext">Color 1</span></td> | |
<td align="center"><span class="answertext">Color 2</span></td> </tr> </tbody> </table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment