Indeed, Java and Javascript are different languages. Java is compiled into class files, which are executed by the Java runtime. Javascript is interpreted by a browser.
Javascript can do MUCH more than controlling how a webpage is displayed. You'll learn about that when studying. For example: http://www.webresourcesdepot.com/25-amazing-javascript-games-some-fun-and-inspiration/ has games written in Javascript.
It depends on the tool you use for making a webpage how to enter Javascript code in it. Notepad is a very basic tool. But you can use any other webdesign tool that supports it.
How to see the source of a webpage depends on the browser. It isn't a function key but a menu option.
Kees
Hello. I am doing some rudimentary 'dabbling' at this time with 'JavaScript'. I am an absolute begginer.
Just a little 'semantics' to start off with. Somebody mentioned to me that both Java & JavaSc. are different...
I am pretty sure that J.S. is "just for" controlling how 'text' is displayed on a 'web page'. I was dabbling with a tutorial recently..and it instructed me to start that process using a notepad program I have on my computer..then having a sampling of text..by itself showing up on the screen 'in a certain' manner. Is that the main or only way ( using notepad) that J.S. is used or applied to 'web page construction?
Some web pages already have J.S. embedded into the web page that you might be viewing..but is usally hidden.
Is there a 'function' key that you can depress that would 'reveal' these hidden..JavaSripts or controls?
What is Java? by itself? Are they 'controls' that control how other things show up..besides text on 'web pages'?
Thanks for any and all responses
Bye
SC

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic