src/controllers/UICtrl.js
// move the item to the top center
move the item to the top center
move the item to the top center
function personAnimationToTop(person){
            setTimeout(function(){
              person.style.transition = 'transform 2s';
              person.style.transform = `translate(0, -215px)`;
              person.childNodes[1].style.animation = "image-to-top-animate 2s forwards"; 
            }, 550);
          }
function personAnimationToTop ( person ) { setTimeout ( function ( ) { person . style . transition = 'transform 2s' ; person . style . transform = ` ` ; person . childNodes [ 1 ] . style . animation = "image-to-top-animate 2s forwards" ; } , 550 ) ; }
move the item to the top center
move the item to the top center
// select img to animate