Complete first part
• complete JavaScript functions
• add CSS style