They are both New Yorkers and avid Twitter users, but in all other respects US president Donald Trump and congresswoman Alexandra Ocasio-Cortez couldn’t be further apart. We assess the current state of the union over climate-change action and renewable-energy policy.