Quiz
Week 1 Study
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (23)
1The 6 primitive data types of javascript are
- Aboolean, number, string, null, undefined, object/symbol
- Bboolean, integer, float, string, null, undefined, object
- Cboolean, integer, number, string, object, undefined
2<details> was added in html 5
- ARichtig
- BFalsch
3When an event happens on an element, it first runs the handlers on it, then on its parent, then all the way up on other ancestors.
This is called [blank_start]bubbling[blank_end].- Abubbling
4[blank_start]Trickling[blank_end] is event propagation from a parent element down through its children.
- ATrickling
5A [blank_start]callback[blank_end] function is a function a passed to another function.
- Acallback
6document.getElementById('button').addEventListener('click', () => {
// do something
})
This is an example of a(n) [blank_start]event listener[blank_end].- Aevent listener
7functions can be stored in a variable and then called using the variable.
- ARichtig
- BFalsch
8javascript functions can be hoisted.
- ARichtig
- BFalsch
9arrow functions have a this keyword
- ARichtig
- BFalsch
10Arrow functions are not hoisted.
- ARichtig
- BFalsch
11Use document.[blank_start]getElementById[blank_end] method to access a method by ID.
- AgetElementById
12Use the [blank_start]innerHTML[blank_end] method to get the content of an element.
- AinnerHTML
13Use document.[blank_start]getElementByTagName[blank_end] to find an element by tag name.
- AgetElementByTagName
14Use document.[blank_start]getElementByClassname[blank_end] to get an element by class.
- AgetElementByClassname
15Use element.[blank_start]attribute[blank_end] to add a new attribute to an element.
- Aattribute
16Use element.[blank_start]style[blank_end].property to change the style of an element.
- Astyle
17Use document.[blank_start]createElement[blank_end] to create an HTML element.
- AcreateElement
18Use document.[blank_start]removeChild[blank_end] to remove an HTML element.
- AremoveChild
19Use document.[blank_start]appendChild[blank_end] to add an HTML element.
- AappendChild
20Use document.getElementById(id).event to add an event handle to an element.
- ARichtig
- BFalsch
21Template literals:
Offer a way to define [blank_start]multiline[blank_end] strings.
All you to [blank_start]interpolate[blank_end] variables.
- Amultiline
- Binterpolate
22IIFE stands for [blank_start]immediately invoked function expression[blank_end].
- Aimmediately invoked function expression
23After assigning a function to a variable, the function can be using the following syntax:
variableName(args)- ARichtig
- BFalsch
Informationen
- Beschreibung
- Programming Quiz am Week 1 Study, erstellt von Wesley Letcher am 11/06/2019.
- Autor
- Wesley Letcher
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz