RED/GREEN DESCRIPTION ASSIGNMENT

The HTML tag(s). How many are there?

I believe there is only one html tag, which is the paragraph tag.

What tag attribute(s) are there?

If attributes are inserted into element tags, then I believe there are six attributes, which are fonts(3) color, and cursor(2).

Identify the style definition(s).

The style definitions are the font, all font colors and the cursor directions.

What method(s) were used to define the style(s)?

By process of elimination, I have come to the conclusion that the style method used was inline. There was no external page, so that eliminated external method. I did not see a style sheet placed in the document's head, so that elimnated embedded.

How was the JavaScript included?

The JavaScript was the command that changed the green font to red when the cursor clicked on it. The JavaScript commands are those with the firstchild and nodevalue.

What 'event' would trigger the execution of the JavaScript?

The event that triggered the change of font color was the click of the mouse.

When triggered, what did the JavaScript do? Describe the function in plain words.

I believe that when one clicks on the link the command "one click" tells the code to activate.The "if" command works like an input/output table. If this happens, then (else) then do this.

Can you identify what JavaScript commands were used?

The Java commands that were used were:firstChild.nodeValue. I don't know what they mean.

You would not know that I do have some knowledge of webpage design by reading the above responses. I have always designed websites using WYSIWYG programs or webpage design software, which does all the coding for me. It is hard for me to dump my old HTML knowledge ( I was certified in HTML 10 years ago and currently use old code to tweak my own website) I am a bit bewildered with this first assignment. I am extremely confused by the terms: elements, attributes, values...they all seem so similar in function.


EDTECH 574 Homepage

EDTECH 574 Red/Green Map