JavaScript History and Usage Flashcards

1
Q

What is JavaScript?

A

JavaScript is a scripting language supported by browsers and primarily used to enhance the interactivity of web pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Who originally developed JavaScript?

A

JavaScript was originally developed by Netscape and was initially named LiveScript. It was a collaboration between Netscape and Sun Microsystems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are common uses of JavaScript?

A

Common uses of JavaScript include:

• Displaying message boxes, alerts, and prompts
• Editing and validating form information
• Creating new windows with specified size and screen position
• Image rollovers
• Displaying status messages
• Showing the current date
• Performing calculations
• Creating animations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What type of scripting language is JavaScript?

A

JavaScript is an object-based scripting language, meaning it works with objects that are associated with HTML or a web page document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What objects does JavaScript commonly work with?

A

JavaScript works with the following objects associated with a web page:

• Window object: Represents the browser window.

• Document object: Represents the web page loaded in the browser.

• Element objects: Such as forms, images, hyperlinks, etc., within the HTML document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly