improved the conditional flow for testing the user input. also added a css property change for warm and cold using colors