<*script type="text/javascript">

alert("Natalie sucks at this");
<*/script>

Did you know I can't even get that to work in my homework so something's so wrong. Whyyyyyy? I don't see it. I hate this. I suck.

I wish I knew someone who knew JavaScript. (and my teacher is NO HELP what so ever).
Nick (who gave me his email in case I needed help) hasn't responded yet but it hasn't been an hour yet and I don't think anyone is as stupid as me doing JavaScript homework at 10:42, granted I've been doing this forever and should've called "UNCLE!" long ago.

THIS SUCKS.

If anyone knows JavaScript (or knows anyone who can help me) you'll seriously be my best friend. Seriously.
(deleted comment)

Date: 2009-02-18 05:10 am (UTC)From: [identity profile] calenfenwen.livejournal.com
I got it to work in a separate doc and it was a direct copy paste but when I have it where all my function are? no go. Do you see anything wrong with my functions? I'm at a point where I would rather throw my book into a fire and live in the forest with the tree people than finish this.

var seconds = 0

var clockId;

function runClock() {
var seconds = seconds+1;
quizclock = seconds;
}


function startClock() {
showQuiz();
clockId = "setInterval('runClock()',1000)";
}


function stopClock() {
window.clearInterval(clockId);
gradeQuiz(correctAns);
alert("You have" + correctAns + "correct of 5 in" timer "seconds");
correctAns = varcorrectAns;
timer = quizlock;
}

Ugh, I just realized you have no idea what I'm trying to do with this pile of crap.
Edited Date: 2009-02-18 05:11 am (UTC)
(deleted comment)

Date: 2009-02-18 05:21 am (UTC)From: [identity profile] calenfenwen.livejournal.com
Thanks for your help! adding the semicolon didn't do anything to change it but I'll see what I can figure out.

Something tells me I'm not going to do well on my quiz tomorrow! haha....wait this sucks. Maybe if I don't sleep until then I'll figure it out...maybe. I'll for sure check out the site. Did you find w3 schools useful at all?

This was supposed to be the "easier" problem too! What the hell JavaScript! You're like the evil boyfriend I've never had!
(deleted comment)

Date: 2009-02-18 05:49 am (UTC)From: [identity profile] calenfenwen.livejournal.com
My teacher is raving about w3schools and like you I find it basically worthless.

Also my teacher is completely unhelpful. He keeps saying that he knows more about JavaScript than anyone else at the school, how incredibly awesome his last JavaScript class was and how we can't measure up to them. He leaves the classroom for minutes at a time and once I needed help and he never came back. I can't wait for teacher review time. I'll have a lot of things to say, but he doesn't care and comments about how huge his file is.

But right now I would do just about anything to see this stupid timer start.

Profile

calenfenwen

December 2020

S M T W T F S
   12345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 10th, 2025 05:17 am
Powered by Dreamwidth Studios