Cascading Style Sheets s1

Total Page:16

File Type:pdf, Size:1020Kb

Cascading Style Sheets s1

CSCE 102 ―EXAM Study Guide No hats are allowed during the test so don’t wear a hat on test days. You must bring your Id to the test.

Cascading Style sheets • Setting the style with CSS • Using local styles • Using classes and ids with style sheets User defined tags • Using

and Images • Using images Anchor Tag • Creating a hyperlink using the anchor element (. . . ) • When is the path name necessary? • Creating an image that is a link Tables • Creating a table • Using colspan and rowspan *JavaScript • What Type of language is JavaScript? • * Data Types; examples, using • *Alerts, prompts (built in functions (Methods) of the windows object) • Creating a button using HTML and clicking it to execute JavaScript • Using event handlers to execute JavaScript from within HTML elements • *Changing CSS properties using JavaScript • Objects and properties • Which are the objects, which are the properties? Example: document.body.style. backgroundColor object object object property • *Writing functions • *Calling Functions • The purpose of functions • Naming and using functions • Executing functions • What is a parameter? How and why are they used?(in class notes) • *Using parameters • Purpose of parameters • What is a variable? • Naming variables • *Using the assignment statement • *Logical flow with assignments, comments and functions • The properties of the document object • Changing properties of the page document.body.style.backgroundColor document.body.style.color • *Concatenation • The methods toLowerCase() toUpperCase() • *Using this. To change the current element • *Using getElementById in your notes and in lab assignment • *innerHTML − Changing the text in HTML elements on that have already been loaded on the page, in your notes and on lab assignment • *document.write • *Image rollover • Creating image rollovers • Textboxes • Know how to create a textbox in HTML • *Know how to access the information in a textbox • *Know how to display new information in a textbox • Math with textboxes • *Know what parseFloat() does and how and why to use it addition, subtraction, multiplication, and division • * Know how to write the code to average numbers, • *Know how to write the code to calculate a grade using weights • Math methods (Math.) from your notes • *If statements • Write the code to create an if statement. • Know how to use both relational and logical operators • *Know which part of the code is executed if the condition in the if statement is true/false. • *Loops • For loops • While loops • Do while loops • Do you understand the code from class and from the last lab? • Slide Show - In class notes - Do you understand it? • Radio buttons, check boxes, and pull down menus; In class notes • Difference between the checkboxes and the radio buttons • Guess the Number Problem – In class notes - Understanding the logic in code • Coin Flip Problem Caution code copied from Word may not work.

My Random Number

What to study: Your class notes (code used in class and Especially the notes from the review - what will be on the test.), the study guide, the lab assignments, the code from lab, our web page, text books

*It is on the test.

Recommended publications