fellowtraveler
Coder
Hi. I'm a 78-year-old retired mainframe systems programmer trying to learn some new tricks. I've re-written an old C++ program of mine that translates Swahili to English in JavaScript and paired it with HTML and it works but the presentation is sloppy. I'm trying to learn a new presentation tool but it's not working.
<p id="dataout"></p>
let node = document.createTextNode("noun count = " + noun_count );
document.getElementById("dataout").appendChild(node);
Not only is this not writing to the screen, it seems to be stopping the entire program dead at that point.
Any suggestions will be most appreciated.
<p id="dataout"></p>
let node = document.createTextNode("noun count = " + noun_count );
document.getElementById("dataout").appendChild(node);
Not only is this not writing to the screen, it seems to be stopping the entire program dead at that point.
Any suggestions will be most appreciated.