Hi,what difference between offline and online?In what scenarios should two different types of code be used? Thank you