How to change webpage background colour multiple times by clicking on the same button?
<p>I'm an absolute beginner at JavaScript/jQuery. </p>

<p>I was wondering if I could achieve an effect where I can continuously toggle multiple background colours of the webpage by clicking the same button multiple times. </p>

<p>This is the script I found on the Internet: </p>

<pre><code>&lt;script&gt;
  $("#change-colour").click(function(){ 
  $("body").css("background-color","red");
  });
&lt;/script&gt;
</code></pre>

<p>However, using this I can change the background colour only once. I wish to change the background colour multiple times by clicking the same button, For example:</p>

<p>Click >> Red >> Click >> Blue >> Click >> Green >> Click >> and then back to Red</p>

<p>Any help would be much appreciated.
Thanks.</p>
