Hi!
I'm very new to javascript, I'm still a fresh learner and I've got trough some tutorials and I thought I understand the language too. I thought it just until the minute I've tried to do my first piece of code.
I ask you for help, please help me if you have time. I'd like you to make me a little example tutorial or a piece of code which I can understand better. I only need a few things...
I do need a variable (myvar) which is created in the <head>. (I've done that myself and worked

The document should write this variable in some place of the <body> (document.write(myvar)) I've done that part too.
But I want it to be changeable the following way. I have some checkboxes which will represent some number (300, 390, 450). I want to create a function to be able to put an onClick event on the checkboxes so when the user checks checkboxes a certain amount would be added to the main variable.
I hope it was understandable. I hope someone will help me, and thanks for the lot beforehand!
Buh-Bye!