Differential forms and cohomology are somewhat less intuitive than integration (at least for me), so maybe it is no easy to find such a neat example.
Anyway, let's try this one. Consider the 1-form
$\omega:=\frac{xdy-ydx}{x^2+y^2}$
in $X:=\mathbb{R}^2 \setminus 0$.
It provides the standard example of closed form which is not exact, and in fact it is essentially the only example on $X$, because of the following
Proposition.
Every 1-form on $X$ which is closed but not exact is of type $a\omega + \eta$, where $a \in \mathbb{R}$ and $\eta$ is an exact 1-form.
This statement makes perfect sense to everyone who understands differential forms, however provingand at first glance it directly isdoes not easyseem obvious at all.
On the other hand, it is an immediate consequence of De Rham theorem: in fact, since $X$ retracts on $S^1$, we have
$H^1_{DR}(X)=H^1_{sing}(X, \mathbb{R})=H^1_{sing}(S^1, \mathbb{R})= \mathbb{R}$,
with generator $[\omega]$.