Text here...
This JavaScript displays famous and innocuous "Hello, World." message
3 times. Students modify, screen capture, and put it in assignment book.
Hello, World!
757-01 by YVETTE HANNAH -- TITLE BAR
STUDENT NAME: Yvette Hannah
CLASS: JAVA -- PROF AUCIELLO
COMMENTS:
Copy this to the clipboard. (scroll down)
Paste to Word and Print it.
Click here for Source Code
VALID COLOR NAMES FOR BACKGROUND AND TEXT (FOREGROUND) ARE:
RED BLUE GREEN YELLOW
BLACK CYAN DARKGREY GRAY
LIGHTGRAY MAGENTA ORANGE PINK
WHITE
ACTIVITIES:
. FIND COLORS THAT WORK FOR YOU. CHANGE BACKGROUND AND FOREGROUND COLORS.
. find a list of all colors.
. research using RGB (HEX) VALUES ("FFFF")
. How to make a comment in HTML
. Where does "TITLE" display?
. What is the difference between "confirm" and "alert"?
(Find answer from book or by "discovery" or both.
Learn to use both methods.)
. Note syntax of "for" statement.
Change loop counter to another number.
. What is the value of 'i' when alert is activated?
. What event starts function hw02?
. Experiment with H1, H2, H3 tags to learn.
. Note catenation operator (+) that allows constants
(like Hello World) to be displayed next to variables
(like i) which is a loop counter.
. look up 'catenation'
. What does 'pre' do?
|