Saturday, January 3, 2009

It's a slow start

I'm on page 26 in the Head First Javascript book, and trying to get a function to "get the user's name" to work. After trying to figure out their fill in the blank exercise (with what they call "magnets") I transferred the page to my server and it's not working. So now I have to figure out what I'm doing wrong.

I'm obviously doing something wrong...



Fixed it!

What was wrong...

("rockImg".src was missing the ) after Img"

and

the last ) should have been }

See it in action.



No comments:

Post a Comment