If you wanted to think about your homework, let me remind you what it was:
- You were writing a webpage to encode some text - some of you got on better than others :-)
- I gave you a print out of some working code...the page in action can be found at student.cherwellcomputing.co.uk/jws/code.html
- Your task is to annotate the code to explain what each line is doing
OK, that was too easy, and the program you've written is too easy to break. Instead of simply shifting letters by a constant value, extend the program to shift letters by an amount that changes with each letter.