ba7159
10-19-2009, 07:52 PM
I'm taking an entry level CS course. While I realize this question is simple it goes past what our professor has taught this class. I've taken pascal, and C++ in highschool and I think I could do better than most of the clowns in here. If you don't want to give me the answer that's cool you'd rather pick my brain.
What i'm trying to do - ask the user a question. There's a drop down box that has possible answers. If they click on the right one I tell them via alert box. Else I tell them their answer was wrong.
Here's my script
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Writing Intervals</title>
</head>
<body>
There are two things to take into consideration when writing intervals. The first is the number, which is determined
by the distance between the letters. Here are some examples of this first part
<ul>
<li>C-C is a unison
<li>C-D is a second <em>think c(first) d (second)</em>
<li>C-E is a third <em>think c(first) d (second) e (third)</em>
<li>C-G is a fifth
<li>F-A is a third
</ul>
Let's see if you understand this. Here are some examples for you to try.
<ol>
<li>G to G would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<li>G to A would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<li>B to D would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<ol>
</body>
</html>
What i'm trying to do - ask the user a question. There's a drop down box that has possible answers. If they click on the right one I tell them via alert box. Else I tell them their answer was wrong.
Here's my script
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Writing Intervals</title>
</head>
<body>
There are two things to take into consideration when writing intervals. The first is the number, which is determined
by the distance between the letters. Here are some examples of this first part
<ul>
<li>C-C is a unison
<li>C-D is a second <em>think c(first) d (second)</em>
<li>C-E is a third <em>think c(first) d (second) e (third)</em>
<li>C-G is a fifth
<li>F-A is a third
</ul>
Let's see if you understand this. Here are some examples for you to try.
<ol>
<li>G to G would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<li>G to A would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<li>B to D would be a
<select>
<option>Unison</option>
<option>Second</option>
<option>Third</option>
<option>Fourth</option>
<option>Fifth</option>
<option>Sixth</option>
<option>Seventh</option>
</select>
<ol>
</body>
</html>