Let's put some of our algorithm knowledge to work and make ourselves an outline for a web page. We're going to get a leg-up on our next assignment and start thinking about our first web page. We'll work on it one step at a time.
Get out a piece of paper. In the upper left-hand corner, put the picture of yourself. To the right, list:
* Your name
* Your dream job
* Three fun facts about yourself
We'll be building on this page over the term, so feel free to add some additional information to the bottom of your paper.
Now, let's see how we might implement that...
Here is the basic outline of a web page. I'm going to change the text to say "Howdy, there!" Imagine in your mind what it's going to look like. Can you picture it? Were you correct?
Now I'm going to add a second line. What do you think it's going to look like? Does it?
It's time to add a picture. Let's find one of cats. Does that look like you thought it would? Why is it different?
Finally, let's put in a link. The link uses the anchor tag. What part of this can I reuse for other links? What will change?

No comments:
Post a Comment