Plan and done for June-06-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 become 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. Day 10 of JS30 (day 9 was about web dev panel utilization, without any assignment). Build a checkbox's list with ability to select the range of items with Shift pressed. My plan:

    • iterate through the list of checkboxes (divs in this case);
    • find first checked input element;
    • set flag and start to put this and all following input elements into array;
    • if next checked found, release flag and finish iteration;
    • if flag released, Shift pressed, and array of elements is not empty - set checked property to true for all of them.

    It would work for a list of unchecked items, but if I already have checked items the approack will fail. Try something new.