I1: generates a random number
I2: uses an ERB template and HTML