Plan and done for May-23-2017

What will I learn today?

  1. Make menu hide only on tablet and desktop versions or add input-label to hide JS-function.
  2. Fix quirks in Safari: icons have became too small, everything become a mess on a wide screen.
  3. Fix a masthead height on resolution wider 640px.
  4. Fix an offer body text align for the gift message - now it aligns to center on resolutions less than 570.
  5. Build additional pages - hotels, impression, blog.
  6. Style the form on impression page.
  7. Dive into JS.
  8. Implement form validation.

Done

  1. Stuck a little with datepick element again. I've added it to the project's review page and I've got an error: The specified value "24-05-2017" does not conform to the required format, "yyyy-MM-dd". Tried to fix it quickly with setting dateFormat property for an element to the value: dateFormat: "dd-mm-yyyy", but still no result.

    But it works if I set the default value: yyyy-mm-dd. And I've found another thing to improve - to implement validation for all fields and especially checking whether the start date is before the end date. Added to TODO.

  2. Tried to extract all values from an array and represent them as a list of strings. Tried to get to with arr.toString().replace(',', '\n') and discovered that it replaces only the first occurance of search string. Found an advice to make it with arr.toString().split(',').join('\n').