Even if you don't know how to CODE JavaScript and/or jQuery, you need to know how to use code written by others. Here are some facts that will help in this regard

New

Long-Term Learning

Learn efficiently and remember over time.

Start Long-Term Learning

Get personalized study reminders at intervals optimized for better retention.
Track your progress on this set by creating a folder
Or add to an existing folder

Add this set to a folder

  • JavaScript code is executed in the web _____ by it's _____; this is referred to as _____-_____ processing

    browser...engine...client-side

    Client-side processing helps an application run _____ than server-side processing

    faster

    JavaScript command to get the current date and store it in a variable called 'today'

    var today=new Date();

    JS command to write a date (stored as a variable called 'today') on a web page, nested in a paragraph

    document.write("<p>"+ today.toDateString() + "</p>";

    Common JS command to 'cough' something up on the web page

    document.write(<whatever>);

    Option in "Web Developer Toolbar" that let's you view the page source after it has been run by a browser, especially if there were scripts that were processed

    "View Generated Source"

    JavaScript can ____ the contents of a web page when the page is _____ or in response to a _____ action

    modify...loaded...user

    According to the DOM, each element of a web page is represented as a ____ in the DOM

    node

    Common types of nodes: ____, ____, _____, _____

    element, text, attribute, comment

    DOM _____ lets you use _____ to update a web page in response to user actions that are called _____

    scripting...JavaScript...events

    An event is usually an action the user performs with a _____ or ______

    mouse ... keyboard

    The JS code that is executed is in response to an event that is called a(n) _____ ______

    event handler

    This HTML tag should ALWAYS be used in the event JavaScript is disabled by the user

    <noscript>

    With HTML5, this attribute may be omitted from the <script> tag, but older versions of HTML required it

    type="text/javascript"

    True or false: You can have more than one <script> element on a given web page

    true

    If a script element is coded in the body of a document, it is _____ by the output of the JS code when the web page has been rendered

    replaced

    An HTML document must be ____ before and after a script runs

    valid

    The noscript element is used to display content when JS is _____ in a user's browser

    disabled

    Common JS keyword used to automate typical tasks you want to do possibly many times

    function

    JS command to open another web page in another window

    window.open('myFile.html', 'myWindow', 'width= xx', height=yy');

    A common 'trigger' keyword used to start an event

    onclick

    Please allow access to your computer’s microphone to use Voice Recording.

    Having trouble? Click here for help.

    We can’t access your microphone!

    Click the icon above to update your browser permissions above and try again

    Example:

    Reload the page to try again!

    Reload

    Press Cmd-0 to reset your zoom

    Press Ctrl-0 to reset your zoom

    It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

    Please upgrade Flash or install Chrome
    to use Voice Recording.

    For more help, see our troubleshooting page.

    Your microphone is muted

    For help fixing this issue, see this FAQ.

    Star this term

    You can study starred terms together

    NEW! Voice Recording

    This is a Plus feature