Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. F

    Hi. I'm a 78-year-old IT techie but I'm new at this stuff. I coded the following:

    Thank you. I've got that working now. Do you know of any way to easily skip a line also? I tried creating an element of "br br" but that didn't work.
  2. F

    Hi. I'm a 78-year-old IT techie but I'm new at this stuff. I coded the following:

    let node = document.createElement('p'); let linebreak = document.createElement('br'); let textnode = document.createTextNode("noun count = " + noun_count + "; verb count = " + verb_count); node.appendChild(textnode); document.getElementById("par1").appendChild(node); textnode =...
  3. F

    JavaScript JavaScript Presentation issue

    Thank you much. I still have a lot of work to do but I have made some progress with your help. My problem was not what I coded but where I placed it in my program. I placed it before the function that responded to the button. When I moved it into that function, it worked. I guess the lesson...
  4. F

    JavaScript JavaScript Presentation issue

    Maybe this will help clarify my issue. I had a version of my program that used document.write to write this data to the screen. It worked but I didn't like where it showed up on the screen and I wanted more control over that. That's when I tried using the appendChild technique and I would...
  5. F

    JavaScript JavaScript Presentation issue

    Hi. If you mean the whole JavaScript program, including the vocabulary, it is over 23,000 lines. What precedes the code I included and is relevant is just: let noun_count = nounload(); which returns the count of entries in the noun dictionary. The entire HTML is as follows <!doctype html>...
  6. F

    JavaScript JavaScript Presentation issue

    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...
Back
Top Bottom