I know the elements of $\frac{R}{J}$ are like $r+J$ when $r \in R$. So I have to show that there is some $s \in R$ that $r+J = s+I$. But I don't know how to do that. I actually want to show that $\vert{\frac{R}{J}}\vert \lt \vert{\frac{R}{I}}\vert$ and I thought I can prove it by saying that $\frac{R}{J} \subset \frac{R}{I}$. Am I doing right? If not, How can I prove $\vert{\frac{R}{J}}\vert \lt \vert{\frac{R}{I}}\vert$?
Would you please explain it to me?
In general is not true that for every $r$ there is $s$ such that $$r+J=s+I$$ for example, take $r\in J$, then the equation became $J=s+I$, which have no solution unless $s\in I$ (because either $s\in I$ or $s+I$ is not an ideal, in particular it cannot be $=J$), so you would get $I=J$.
If you have two ideals $I\subseteq J$, then there is a canonical map $\pi:R/I\rightarrow R/J$ mapping $x+I$ to $x+J$. This map is onto and it's kernel is $J/I$ (simply check the definition, $r+I\in\ker \pi$ iff $r+J=J$, that is, if $r\in J$, so $\ker\pi=J/I$), therefore by the first isomorphism theorem $$\frac{R/I}{J/I}\simeq R/J$$ so $$|R/J|=\left|\frac{R/I}{J/I}\right|\leqslant R/I$$ where in the last inequality I used the axiom of choice: The projection $\pi:R/I\rightarrow (R/I)/(J/I)$ is onto, therefore it has a section $\sigma:(R/I)/(J/I)\rightarrow R/I$ (which, in general, is just a function, and not a ring homomorphism) which is 1-1. The reason I've used $\leqslant$ instead of $<$ is because when the quotients are infinite, they might have same cardinality (even if one ideal is strictly contained in the other), for example, take $R=\mathbb R$, $I=\mathbb Z$ and $J=\mathbb Z[\frac{1}{2}]=\{n+\frac{m}{2}|n,m\in\mathbb Z\}$, then $$R/I\simeq R/J\simeq\mathbb S^1=\{z\in\mathbb C:|z|=1\}$$