made the blocks of code responsive