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;
22 Cards in this Set
- Front
- Back
How do you look up something in html based on its ID in javascript |
document.getElementbyId("id") |
|
What button parameter lets you set a function to use |
Button = "onClick="function()" " |
|
How do you reference external CSS |
<link rel = "stylesheet" href = "Src goes here"> |
|
How do you reference external Javascript |
<script type = "text/javascript" href ="src goes here"></script> |
|
How do you get a random number in js and what does it return |
Math.random(); and it returns a decimal from [0,1) |
|
How do you send an alert in JavaScript |
alert(); |
|
How do you make a button in html |
<button type = "button" onClick = "function()"></button> |
|
What is the class selector in css |
.classgoeshere |
|
What is the id selector in css |
#IDgoeshere |
|
Which method is best used in forms when handling sensitive information |
Post |
|
What is the syntax for a form |
<form action = "anything" method = "Post||get"></form |
|
What is the syntax of input |
<input type = "" name = "" value = ""></input> |
|
A link that opens google in a new tab |
<a href = "http://www.google.com" target = "_blank"> Google </a> |
|
What are three common attributes to the getelementbyId() function |
.value, .innerHTML , .style |
|
How do you add an element to the end of an array |
var array = []; array.push(1); |
|
What is at the start of every xml file |
<?xml version = "1.0" encoding = "UTF-8"?> |
|
What is JSON |
A way of Storing data. Structured like an array of objects |
|
What is the syntax of JSON |
"listname":[ "object1":{ "attribute":"www" "numattr":2123 } ] |
|
What is XSLT |
Written like html but has loops and stuff, you have to close tags and enclosed text with <xsl:text> |
|
XSLT loops |
<xsl:for-each select = ""> |
|
XSLT grabbing values |
<xsl:value-of> |
|
DTD syntax |
* means 0 or more #PCData means text + means 1 or more <!ELEMENT Studentlist(student*)> |