Forum: JavaScript programming
02-10-2013, 09:35 PM
|
|
Replies: 8
Views: 307
it runs
Thanks for the feedback yall, using values of true/false/null helped it run along with my mistakes of = instead of ==.
<html>
<script>
function nameFunction(){
var counter= 1;
//declares...
|
Forum: JavaScript programming
02-08-2013, 04:05 AM
|
|
Replies: 8
Views: 307
update
I did some more tinkering around with it, and I found the bug is in a different area of the code (new emboldened lines)
var counter= 0;
//declares value to variable
var yourName= prompt("What...
|
Forum: JavaScript programming
02-08-2013, 03:15 AM
|
|
Replies: 8
Views: 307
I cannot find the bug.
I wrote this little code to put a few skills together to make sure I am understanding the logic correctly.
*Code runs a prompt asking for your name
*Take the name and runs a prompt to ask your age....
|