prompter: What is wrong with my code?????? assistant: Could you please provide me with the code, and if possible, also the error message, to better help me figure out what's wrong with your code.
prompter: ```javascript
document.addEventListener("DOMContentLoaded", function(event) {
    // get #in and #out textareas
    var inText = document.getElementById('in');
    var outText = document.getElementById('out');
    // when #in textarea is changed, update #out textarea
    inText.addEventListener('input', function() {
        outText = btoa(inText);
    });
    // when #out textarea is changed, update #in textarea
    outText.addEventListener('input', function() {
        inText = atob(outText);
    });
});
```