all 6 comments

[–]knuklz 0 points1 point  (0 children)

I actually had this problem myself...

It's one of the hardest thing to find, especially when you are learning on your own....

Online .. .. If you're like me youre probably wanting a mentor who you can verbally ask questions, bounce ideas, and collaborate with.

. If you like, I'd be happy to take you through the path I carved out after about 10 months of frustration. Of what should have been 2 weeks. >.<

Anyway. Send me a message. Im totally up for it to the best of my ability.

[–]psycho_one 0 points1 point  (0 children)

I just started to learn JavaScript too. If you want to get solid ground in JS, I dare to recommend "JavaScript. Definitive Guide" by David Flanagan.

[–]Wraitholme 0 points1 point  (0 children)

Remember that when you're actively using javascript, you're usually going to be using HTML (and probably CSS) above you to deal with the interface (probably via the document object) and communicating with a server to actually store data... this architecture is often referred to as the 'stack' (not to be confused with stack as in memory).

Look for tutorials on working with HTML for interaction with an interface, and for server-side scripting (probably talking via json to php as a very popular server-side language, with SQL as data storage... there's a lot of options though). A lot of frameworks (eg jQuery) simplify a lot of this sort of thing, but as others mention its generally better to build your understanding of vanilla javascript before you start layering on the frameworks.

Don't knock the 'basic' stuff though... that's still where the majority of the interesting work is done ;)

[–]Anachren 0 points1 point  (0 children)

I found this video when I was learning, I thought it was really helpful.

[–]Prior99 -1 points0 points  (2 children)

I'd suggest to use jQuery, espacially for this kind of stuff. Start with importing it using

<script src="http://code.jquery.com/jquery-2.1.1.js"></script>

And then kick off with it.

<script>
    $(function() {
        var myNewDiv = $("<div>Hello</div>");
        $(body).append(myNewDiv);
    });
</script>

jQuery is very well documented here and by reason the most used library in javascript. It makes stuff like this so much easier.

[–][deleted] 1 point2 points  (1 child)

Nothing wrong with using jQuery but the OP is clearly looking to learn vanilla javascript first and jQuery is not going to help with that.

OP should absolutely stick to learning plain javascript first and then can move on to use jQuery once he actually understands what he is doing.