HTML is the "correct" choice, though .htm will also work. The latter is a result of limitations of the early DOS & Windows systems, which could only handle 3 letter extensions (and 8 letter filenames). Why is it still used today? Microsoft continues to push it as a feature, not a bug, and those using MS servers or ASP are more likely to use it, unless, of course, it is a .asp page. But the standard usage is still .html.
For challenge 3-b, I added a link of a video that further explains client-side VS. server-side programming. If you're confused about it (or need a refresher from mod. 1), this should be helpful.
I like this! Stopping a lecture in between to post my comments is definitely on the cool, geeky side of ICM :D
I may steal this idea for my classes, Dr. H!
This method of drawing out the program steps is one of the best solutions for creating a program. My flow charts are usually not this complicated, but I have found them to be very helpful in creating the solution. It helps determine the switched ans loops required to complete the task - I typically will detail what type of loop i need between steps (where the arrows go). Doing one of these charts actually helped me solve the Fibonacci challenge
At 02:45 I point out something that perhaps doesn't fall under the category of worthwhile to our lesson, but whatever -- Rosie the Robot (of 'Jetsons' fame) would never need instructions on how to make a PB&J sandwich. She would make it with love, too. Also, she could not make 50,000 because she'd get tired.
Visualized the Dice!
It took me a while but I finally got it!
Instead of the random numbers popping up I replaced them with some die images that I found. I had to perform a list of "if" statements to make that happen.
I also thought it would be cool to make this in to an advertising site, and give each user 3 rolls to roll a pair, if so, they win a small prize of sort, depending on the advertisement, possibly for a casino? We'll see..
Here is my introduction. I had a negative visceral reaction to the lack of markup on this challenge, so I strayed from the directions and I added lots of and hyperlinks.
After way too long of attempting to figure out how to make this page, the light bulb finally lit up (dim, but it turned on). Instead of just numbers rotating randomly, I incorporated images of dice. I also implemented CSS stylesheet for the background and text. Also, instead of a using the brower refresh button, I added my own :-)
This page allows one to roll two dice and have a graphic depiction of the dice rolls for each. Thanks to Professor Halavais for steering me back in the right direction!
This is my visualization of the dice php file. I decided to use images of dice that I created using Adobe Illustrator. This document also utilized some CSS to format the page and javascript to help create the roll again button. The php uses the switch function to display the corresponding image to the number that is generated.
It WORKS!!! Finally!!! And I only had to spend about 8 hours on it. Hah! This is my random rolling die page, and many many MANY thanks to Jen Rock, Ellise Kuban, Dr. H and my friend Evan the Bard (moniker) for helping me out with the code.
Just goes to show that sometimes it takes a village!
Visualize the dice...I must say this challenge has given me the most grief since the class began. After about four days of trying and talking to classmates it has finally become a reality. This page has two die, that roll randomly. The Die are courtesy of Jen Rock and her excellent photoshop skills. Thanks to her and her refusal to do another challenge, this assignment has been completed.
Dice: successful. They were a LOT harder than I thought they would be... much love to Ellise for taking the time to explain the mathematical side to me.
When you asked for a visual depiction of something that looks like dice, I wasn't really sure if you meant game dice, or Andrew Dice Clay, so I included both. Which serendipitously happens to cover the "two dice" requirement as well... right? :) Tee hee hee. Anyway, here you'll find some html, css and php combined with images.