Anyone willing to help out a javascript n00b? :-)

Posted by Splynx on Stack Overflow See other posts from Stack Overflow or by Splynx
Published on 2010-04-09T16:50:24Z Indexed on 2010/04/09 16:53 UTC
Read the original article Hit count: 366

Filed under:
|
|

Since I am asking for a lot, and know it, the following is a wall of text for those who might show some interest and want to know a little before offering their help to me.

First a little about my level of programming skills, and a little about what I ask for.

Where I'm at:

I am not totally new to Javascript, and have dabbled a little with PHP earlier - well have dabbled a lot with PHP in fact, but never got good at it because I program alone. And I have until now never used forums to get help etc. other that searching to see if anyone else had my problem before and what the solution was.

So I am not a intuitive or talented programmer, I'm more of a very maticulate programmer and you would be surprised how far you can get with if else... (ok that's a joke hehe). My solutions are usually (I am guessing here) not the best ones - and slow I take it, and the code is usually too long and I have to look up most of the stuff I use (really a lot of it is not done in "freehand").

I have a LOT of experience with HTML and CSS, and have always done well formed markup, as well as I am really into x-browsing and always require that my work validates when it's done. I also worry about optimizing a lot, and work with sprites for images, minimize the number of http requests etc, using H1,H2 etc. where it is logically correct, as well as use the correct elements and not just div span or p it...

So because I am a workhorse and very maticulate I can actually pull off some quite "advanced" features, but it's always the basics that bite me in the end. Not fully understanding the syntax and so on usually gives me problems.

Have recently discovered jQuery - wich is a lot of fun.... But I want to use it for the DOM node manipulation/handling only. As I mentioned I worry about optimizing, and jQuery used for everything seems... well not optimal, it strikes me as doing it yourself when possible is faster than accesing another script that may take a whole lot of other considerations into perspective when handling your variables and objects (and I am just guessing here since I as explained know nothing).

So thats where I'm at...

As mentioned I just started with javascript for "real" so I do not have much to show, but at the end of my WOT you can see two unfinisheded scripts I have made so you can see where I'm at roughly - just check out the URL without the /feedback.html for the second example (I am only allowed to post 1 link since I am also a SO n00b)

(and for those rushing over to a validation service, remember I wrote "when it's done"...)

What I ask for:

I am figuring this... I have a piece of code I am working on at the moment, and this little project has taught me a whole lot already, and I have "grown" a lot as a javascript programmer. If I add a whole lot of comments to the script, and explain what it is intended to do, will you then show me where:

  • I am writing incorrect code - making mistakes
  • Where/how my code could be more optimal
  • Where I am just simply being a muppet

The code I want to use as the background for the tuition is the one here

http://projects.1000monkeys.dk/feedback.html

Use firebug and have a quick look see...

© Stack Overflow or respective owner

Related posts about tutor

Related posts about help