part of js task 1-2

plz review