link: http://imanas.shanghai.nyu.edu/~zw1745/week2/index.html
This is the portfolio I made using CSS layout. I applied flexbox to horizontally align the elements, and padding as well as margins to adjust the size of the blank areas. The footer position was a bit tricky for me because when I wrap the webpage, its position moves vertically and it didn’t work even when I applied “fixed”. Then I realized that the footer was only fixed within itself, which means the space for the footer isn’t the whole webpage so it can not be static on the webpage. So I adjust the size of the space for the footer to 100%, and the footer can be static on the page or relative if I set it to relative position.