Simply lift the top. Finger indentations are on each side. The cartridges snap out and in with little difficulty. You don't even have to turn the printer off.
Ink cartridges can be accessed and replaced through a panel on the front of the printer. For step-by-step instructions and visual aids, make sure to refer to the owner's guide or HP's official support site for this model: