JavaScript History and Usage Flashcards
What is JavaScript?
JavaScript is a scripting language supported by browsers and primarily used to enhance the interactivity of web pages.
Who originally developed JavaScript?
JavaScript was originally developed by Netscape and was initially named LiveScript. It was a collaboration between Netscape and Sun Microsystems.
What are common uses of JavaScript?
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
What type of scripting language is JavaScript?
JavaScript is an object-based scripting language, meaning it works with objects that are associated with HTML or a web page document.
What objects does JavaScript commonly work with?
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.