pressing enter now updates the browser window
added error class to css