0% found this document useful (0 votes)
6 views2 pages

Understanding JavaScript Basics

JavaScript is a programming language used to make web pages more interactive by changing content dynamically within a browser without having to reload the entire page. It was originally called LiveScript but was renamed to JavaScript due to the popularity of Java, though the two languages are unrelated. JavaScript code can run directly in any web browser or other environment without needing to be compiled into machine-readable code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Understanding JavaScript Basics

JavaScript is a programming language used to make web pages more interactive by changing content dynamically within a browser without having to reload the entire page. It was originally called LiveScript but was renamed to JavaScript due to the popularity of Java, though the two languages are unrelated. JavaScript code can run directly in any web browser or other environment without needing to be compiled into machine-readable code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

What is JavaScript?

JavaScript is a dynamic, weakly typed programming language which is compiled at


runtime. It can be executed as part of a webpage in a browser or directly on any
machine (“host environment”).

JavaScript was created to make webpages more dynamic (e.g. change content on a
page directly from inside the browser). Originally, it was called LiveScript but due to
the popularity of Java, it was renamed to JavaScript.

JavaScript is totally independent from Java and has nothing in common with Java!
How Do Webpages Work?

Server

Initial Visit User clicks a button


to submit a form

Response

Response
Request

Request
HTML HTML

Visit &
Interact
JavaScript
User Client (Browser) makes this more
“reactive”

You might also like