(New to Programming) Stepping Through Loops?

Hello all I am new to this site and to programming so please bear with me.

I am going to finally try and learn Javascript and I have been told that its invaluable to be able to step through loops…
This was told to me by someone who worked in languages like C++ and Visual Basic.

Does this logic apply to Javascript and, if so, could someone please explain to me how I go about stepping through functions(methods?) in Javascript???

Thank you for any help/info you can give!

Google Chrome Extensions: Tutorial: Debugging

You can also use the “step into” or “step over” buttons to step line by line through the code as it executes.

Welcome to SitePoint.

I am going to finally try and learn Javascript and I have been told that its invaluable to be able to step through loops…
This was told to me by someone who worked in languages like C++ and Visual Basic.

Paul above assumes you mean debugging (“step in/through/over”) but if you meant something else let us know.

Where are you learning your basic JS from?

Off Topic:

Also, is your name really supposed to be like “sifu”? : )

Hello again

Thanks for the info I took a quick look at the Chrome page, it looks very useful.

As for what I am using to learn, I havent quite gotten started yet and would love some suggestions if you have any?

This will not be my first attempt at learning programming.
I have tried a few times actually, but always seem to get hung up when it comes time to write code for myself.

When I follow books, it all makes sense what they say, when I sit down to do it for myself… BLANK…

Just cant seem to get to the point where I can take a real world problem and write code that can handle it. Very frustrating…

I guess I should mention that I looked at the course offered here on Sitepoint, but it looks too slow for me.

I work all day, long hours often, and just dont have time to follow along with a class.
But it sure seems like a nice option, I wish I could take it…
As for now, books/tutorials will have to do I think.

I suppose that normally I would just continue chugging along with jQuery as I needed it, not fully understanding how it works, and just struggling my way through to the results I need.
But now that I have to design stuff to function on the iPad, apparently I really need to wrap my own javascripts… Blaarrgghh

So the moment of truth has arrived…

Yea, I used to spell it SeFu, but now that name is always taken. So now I am down to just cFOO.

Long story, nickname given to me by my friends when we were young and it just stuck.

Sifu is the Master or the Teacher of students : )

I guess I should mention that I looked at the course offered here on Sitepoint, but it looks too slow for me.

I work all day, long hours often, and just dont have time to follow along with a class.
But it sure seems like a nice option, I wish I could take it…
As for now, books/tutorials will have to do I think.

It’s not really a timed class. If you mean Kevin’s Javascript Live, sign up for it and I guess what they’re doing is sending an email one day at a time, opening new “days”. Meh. If you’re strapped for time, just ignore the course for 2 weeks and let the emails pile up, and then go through them at your own pace. The pacing is absolutely not necessary, that’s just how the course was first run. The stuff stays online indefinitely so far as we know.

Though it mostly follows the Simply Javascript book, with minor changes (and they’ve swapped the Core library for cross-browser goodness with jQuery instead).

This will not be my first attempt at learning programming.
I have tried a few times actually, but always seem to get hung up when it comes time to write code for myself.

When I follow books, it all makes sense what they say, when I sit down to do it for myself… BLANK…

Yup, I know that. Keep writing. Write code write code write code. Over time you figure out what code does some of the basic things you need, so that later when you know you need to do “x”, already you know which functions to look up.

You can’t take a low-level course and then jump into doing random things… but you can use a low-level course to understand a cookbook (cookbooks are great… basically you look up “how do I do x?” and there’s a recipe for you to start with).

The cookbook I’ve used the most is the Javascript Anthology but I can’t say it’s the best one as it’s the only one I’ve used. It does stick to small things though. I’ve mostly used the beginning part of it since later in the book they use other techniques to do things like form validation and I already do things another way.

There is here in the Javascript forums a sticky thread or two about Javascript resources. Everyone’s got their own favourites but when you’re looking around the web for free stuff, that list is very nice. Esp since I look up stuff via google a lot and lots of garbage appears…