JavaScript for WordPress Forums Vanilla JavaScript 1.3.05 – Incorrect variable name

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7564
    Thorsten Frommen
    Participant

    This is no big deal, I just report this as it may confuse people (completely) new to JavaScript and all of this.

    At around timestamp 5:00, you defined a variable newInnerHTML. Below that, you are using newContent, though.

    #7572
    Zac Gordon
    Keymaster

    Great catch Thorsten! Just added a note the the lesson page and updated the Code Example!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.