Review: It was the snake that beguiled Adam and Eve into exile. Since the dawn of
early forms of literature, the snake has always been a form of evil, be it the
thieving snake in the story of Gilgamesh, the mythical mother Tiamat who
(Optional)Using keys on the keyUsing your keyboard keys to call functions.
page by clicking on buttons, running their mouse over
The length of an Array: Finding out how many things are in an array
Look at the following code. Can you tell what it does?
<head><meta charset= "utf-8" >
var picArray = new Array()
JS Tutorial 5 (SetTimeOut and Parameters)
JS Tutorial 3:
Note: this part is in last weeks tutorial as well, but will be included in this weeks lab
What if we want to change the text of a paragraph or header on a page? You can use:
For example, in the
So far weve seen document.write for writing to your web page document, creating variables using var, reading in
variables from the user using the prompt command, creating conditional (if) branches, creating if/else if /else
HTML Tags (Tutorial, Part 2):
Images and links (including absolute and relative paths)
Images (or pictures):
Note: For validation purposes, all the tags weve seen so far must both open and then separately close. This is true
for almost all html tags. Howe
HTML Tags (tutorial 1):
At the end of this tutorial, you should know the html tags for a template, a paragraph, different headers,
lists, and tables.
Open your template file.
Save it under another name (as an html file). Now you should have
CSS Tutorial Part 2:
Div versus Span, Class versus Id:
So far youve added style to preexisting html tags, such as paragraphs (<p></p>), headers (<h1></h1>), etc. You can also
create your own elements to be styled.
Specifically, what if you want to se
CSS Tutorial Part 1:
CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph).
Now you are telling the browser how things look (e.g., I want my paragraphs to have blue text with do