While we were waiting for everyone to arrive I gave out a HTML exercise.
For this module should should already know
some HTML
how to program
I spoke a little bit about the inverted classroom model. Note everybody watched the videos in advance. But that's not a big surprise
I asked students to install XAMPP on their machine if they had them handy. We looked at how to view html file and PHP files via localhost. The files must be in htdocs.
We looked at variables in PHP and string manipulation.
Students did an exercise on variable substitution in PHP. That's tricky.
We looked at the assessment for the module.
We didn't continue on the the labs at 2015. We all went home.
I asked students to watch the following videos before next week's facetime. We'll see how that works and whether it frees up time for coding.
Not everybody managed to get the exercise done on time.
A common mistake was to close of the list items too soon. When a list is nested inside another, it goes inside the li. So closing off France with a /li when there are cities inside it, is incorrect. Lists are not that important, but that exercise illustrates the structure of HTML.
If you struggled with this exercise, this video might help.
The HTML validator at validator.w3.org is a great resource for checking that HTML is correct. Just because something looks OK in the browser, doesn't mean it's correct. We don't need a lot of HTML for this module. So we won't dwell on it too much.
Please complete the nested list exercise and submit it via Blackboard by Sunday lunchtime.
By now you should have watched the videos for Classes 01 & 02.
You should have your PHP server up an running. If you have not, or it you are not sure, please contact me.
When writing PHP & HTML you can use any text editor that you like. Most CIT students prefer Notepad++ or Programmers Notepad. Mac users like TextWrangler. WordPad is a poor choice because it really encourages you to save the code as a .doc rather than a plain vanilla text file.
If you feel like you want to skip ahead on occasion I'll be putting the videos into this YouTube channel.