Jquery/JavaScript

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

JQuery

lightweight JavaScript library

2
New cards

JQuery features

  1. image slide shows

  2. animation

  3. event handling

  4. document manipulation

3
New cards

head

place jquery script in _

4
New cards

jQuery access

  1. download

  2. CDN

5
New cards

JQuery syntax

$(selector).action()

6
New cards

$

sign to define/access jQuery

7
New cards

(‘selector’)

finds HTML elements

<p>finds HTML elements</p>
8
New cards

action()

performed on elements

9
New cards

jQuery methods

  1. hide()

  2. css()

  3. hover() (on mouseover event)

  4. slideToggle()

  5. toggle()

  6. html() (gets or sets HTML contents for selected elements)

10
New cards

document ready event

$(document).ready(function()){//your JavaScript statements and other jQuery statements}

11
New cards

JavaScript

client-side scripting language (browser interprets and renders)

12
New cards

JavaScript uses

  1. display messages

  2. validate forms

  3. animate images

  4. visual effects

13
New cards

body or head

place the javascript in the ___ or ___

14
New cards

variables

named containers that can store data

15
New cards

declaring variables

  1. let =

  2. const = (no reassignment)

16
New cards

3 ways to write

  1. document.write();

  2. greeting + name;

  3. alert();

17
New cards

statement

instructions executed by the browser

18
New cards

JavaScript objects

  1. webpage

  2. HTML element

  3. array

  4. etc.

19
New cards

DOM

document object model

  1. consists of all HTML elements

  2. Every element is an object

20
New cards

DOM methods

  1. getElementsByClassName(“id“)

  2. getElementsByName(“name“)

  3. getElementsByTagName(“name“)

  4. querySelector(“selector”)

21
New cards

javascript methods

  1. write()

  2. alert()

  3. prompt()

22
New cards

document properties

  1. document.bgcolor

  2. document.lastmodified

  3. document.url (document location as a string)

23
New cards

HTML event (attributes)

  1. onclick

  2. onmouseover

  3. onmouseout

  4. onload