Chapters 2, 5 & 9 of How to Set Up a Web Site.
Write a CGI script that prompts the user for his or her name and age. When the user presses the submit button, convert the age into "dog years" (divide by 7) and print the result.
Accept a DNA sequence and break it into codons (like the codons.pl program).
Extra credit: Translate the codons into protein.