JavaScript for WordPress Forums Vanilla JavaScript 1.3.05 – Incorrect variable name

This topic contains 1 reply, has 2 voices, and was last updated by  Zac Gordon 3 years, 5 months ago.

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.