Code prints student result in a web page