We only need to sum up the cart prices if the total is visible. How might we achieve that?

With an if statement With console.log() With .innerHTML

With an if statement .