title: How can I use hover on one element to change the background of the whole page in CSS, Javascript and/or HTML
body: <p>I want to change the background image when the &quot;euro&quot; button is hovered on, any help would be greatly appreciated</p>
  <p>Relevant code (this failed):</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#body:hover &gt; #euro{
          background: url(https://media.hswstatic.com/eyJidWNrZXQiOiJjb250ZW50Lmhzd3N0YXRpYy5jb20iLCJrZXkiOiJnaWZcL2V1cm9zLmpwZyIsImVkaXRzIjp7InJlc2l6ZSI6eyJ3aWR0aCI6ODI4fX19);   
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body id="body"&gt;
    &lt;div id="container"&gt;
      &lt;h3&gt;Calculator&lt;/h3&gt;
      Dollars:&lt;br&gt;
      &lt;input type="number" id="num1"&gt;&lt;br&gt; Forgein Currency:&lt;br&gt;
      &lt;input type="number" id="ans" readonly&gt;&lt;br&gt;
      &lt;br&gt;&lt;br&gt;
      &lt;button id="euro"&gt;£&lt;/button&gt;
      &lt;button id="yen"&gt;¥&lt;/button&gt;
      &lt;button id="rupee"&gt;₹&lt;/button&gt;
      &lt;button id="mexpes"&gt;MX$&lt;/button&gt;
      &lt;button id="clear"&gt;C&lt;/button&gt;
  
    &lt;/div&gt;
    &lt;script src="script.js"&gt;&lt;/script&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Any help would be greatly appreciated!</p>