The B-52’s – “Detour Thru Your Mind”
This is what I’ve been up to at school recently.
See the Steakhouse design. Feedback?
Since table layouts are encouraged in this class for cross-browser compatibility, I’m trying to get the hang of using them. I’ve never really made a layout using tables, and YES I know it’s horrible and sacrilegious and I hate myself every time I do one, but I want to get the hang of them because most companies don’t care about standards and just want a site that looks nice. I’m just expanding my skill set. If somebody needs me to code a layout using tables and I can’t do it, I won’t get the job. I need to be able to do it. The self-flagellation afterward is optional, I’m sure.
Questions from my PHP midterm:
- Have the user enter their first and last name, and create a “username” using the first letter of their first name and the last five letters of their last name. Test it out.
- Set up a form that will calculate the total price of clothes based on quantities entered by the user. “Buy” some clothes.
- Create a driving time calculator that will show the time needed for the trip based on mileage and expected miles per hour. A decimal answer would be nice, but outputting the time in hours and minutes would be better. Calculate driving time.
- Working with arrays: Put your family’s information in an array, sort it alphabetically and display it in a table. Then make an associative array with information like age, gender, and their relationship to you, and output that in a table as well. Check it out.
It’s okay if you want to make fun of my PHP stuff – I know it’s elementary. I think I got everything correct on the practical portion of the midterm though; the outputting hours and minutes thing was tricky but I got it. I didn’t, however, make a provision that would account for the “1 hour” versus “1 hours” thing. Oh well. It wasn’t required, but I did think about doing it anyway just to show off. I’m like that.
Now I just have to work on doing this collage thing for HMCIII on Tuesday. I’m actually doing it ahead of time so I can get it printed tomorrow while I’m at work. I think it’s a great plan. Anyway, let me know what you think about my projects!