HTML updated for Problem 1&2