js practice difficult time with #1 and #6