• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/27

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

27 Cards in this Set

  • Front
  • Back

What is closure?

A closure is something that retains its scope and state. Basically, it's a function that has a reference to a private variable.

What is HTML?

Hypertext Markup Language

What are tags?

Elements like < img > and < span >

What is Doctype?

Doctype defines what version of HTML will be used

How do you check HTML for errors?

Using HTML validators, W3C provides one.

What is semantic HTML?

Semantic HTML means the tags have meaning in regards to what they do, ie < nav > < footer >

New HTML5 elements?

< audio > < video > < nav > < article >

What is HTTP

Hypertext transport protocol

Basic format for a webpage?

!DOCTYPE


< head >


< / head >


< body >


< / body>

What is CSS?

Cascading Style Sheets

What does cascading in CSS refer to?

This means starting with the most specific element, ie going from most specific styling to most general.

What is a contextual selector in CSS?

Something like: div div article h1

What is a pseudo class?

It allows you to identify elements by their characteristics (sub parts of elements), ie a:hover, a:link, p.first-child

Difference between visibility:hidden and display:none?

Visibility:hidden hides the item, but it still occupies the space, display:none completely removes it.

What are JavaScript types? (7)

Number, string, boolean, function, object, null, undefined

How do you convert numbers between different bases in JavaScript?

Use the parseInt() function

What boolean operators does JavaScript support? (2)

&& and !

How do you get the contents of an input box in JavaScript?

document.getElementById('id').value

How do you determine the state of a checkbox in JavaScript?

document.getElementById('id').checked

What looping structures are there in JavaScript? (3)

For, while, and do-while

How do you create a new object in JavaScript?

var obj = {}

How do you hide JavaScript from old browsers that don't run it?

Use < NOSCRIPT > < / NOSCRIPT >




The HTML between those tags will what is displayed on browsers that don't support js

How do you assign an object properties in JavaScript?

obj.age = 23;

What is the difference between undefined value and null value in JavaScript?

(i) Undefined means a variable has been declared but has not yet been assigned a value


(ii) Null is an assignment value that can be given to vars

How to create a confirmation box in JavaScript?

confirm("Confirm This");

How do you generate a random number in JavaScript?

Math.random()




Generates a random decimal between 0 and 1

What is OOP?

Object-Oriented Programming


1. Abstraction


2. Inheritance


3. Encapsulation




Objects are the focus, and have various properties