JavaScript for WordPress Forums Vanilla JavaScript Lesson 1.3.05 – variable consistency?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13104
    Gillian
    Participant

    1.3.05 – Getting and Setting DOM Node Values [15:13 – 2 Videos]

    At 3:22, a screen is shown with a variable named as newInnerHTML, but later, the undefined variable newContent is shown.

    Later on newOuterHTML is correctly carried through.

    Just wondering if I’m missing something here?

    #13143
    Zac Gordon
    Keymaster

    Hi,

    Yes, you are correct on catching this! There is actually a little note below the video pointing this out in case other folks notice the same thing. Sorry about that!

    #13158
    Gillian
    Participant

    No worries – thanks!

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