
    
      <script>
        document.addEventListener('DOMContentLoaded', function() {
        // Get the popup
        var popup = document.getElementById('translatePopup');
        // Get the button that opens the popup
        var btn = document.getElementById('translateButton');
        // Get the <span> element that closes the popup
        var span = document.getElementsByClassName('closes')[0];
        // When the user clicks the button, open the popup 
        btn.onclick = function() {
           