Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Right Place to Learn JavaScript?

I was looking around the internet inspecting different websites, and it seems that most websites do not actually use the "prompt" things to pop something up. So instead of going to a site and having something pop up right away, it would pop up when you click on something.

The JavaScript Basics course has only been teaching me the "prompt" method, and you cannot "pause" the script that is running, as in have to click for the next thing to pop up. So I am wondering if learning JavaScript from Treehouse is the correct place to learn JavaScript?

1 Answer

Steven Parker
Steven Parker
231,271 Points

You're still early in the courses, and later on you'll learn other ways of interacting with the user which are much more useful and immediate, but do involve a bit more coding.

And I agree, the methods you will learn later are much more likely to be used in actual web sites than the "prompt" would.

Alright, I just feel like these courses are being very repetitive with the prompt methods, there has not been another method taught yet and it feels wasteful in a way.

Steven Parker
Steven Parker
231,271 Points

I believe that the prompt is just used as a simple input method while the courses are covering other aspects of the language. Once you get into DOM manipulation you won't see it used much again (if at all).