YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Functions Solution - JavaScript Basics

Get Embed Code
5 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. Okay. So I've created my display work function.

  2. And inside of it, I've filled in all the code that I used to display my work.
  3. When I go back the page and
  4. hit refresh, we can see that my work section actually has disappeared.
  5. I can see the other sections because, okay, well because James and
  6. I are cheating and we already have the answers in.
  7. But, the work section's gone, and that's because we never invoked our code.
  8. We don't see anything happen because we never invoked our code.
  9. Let's investigate how to invoke functions.