Return to Video

Independent Research Quiz - JavaScript Basics

  • 0:05 - 0:07
    JavaScript includes many different syntaxes and
  • 0:07 - 0:10
    techniques to accomplish the same goals.
  • 0:10 - 0:13
    Just thinking about what we learned about objects alone,
  • 0:13 - 0:17
    there are at least three different ways of defining objects.
  • 0:17 - 0:20
    Literal, dot, and bracket notation.
  • 0:20 - 0:22
    When you start debugging other people's code,
  • 0:22 - 0:27
    you're going to have to wade through almost two decades of different syntax and
  • 0:27 - 0:29
    techniques, layered one on top of the other.
  • 0:29 - 0:30
    >> You know what?
  • 0:30 - 0:32
    This sounds like a great quiz to me.
  • 0:32 - 0:35
    This course isn't long enough to introduce everybody to all of
  • 0:35 - 0:36
    the nuances of JavaScript.
  • 0:36 - 0:39
    In fact, you could spend more than a hundred hours in a JavaScrip class without
  • 0:39 - 0:41
    getting a complete picture of the language.
  • 0:41 - 0:42
    >> Yeah.
  • 0:42 - 0:44
    I think I see where you're going with this.
  • 0:44 - 0:47
    Let's give students a piece of JavaScript, with some syntax they haven't yet
  • 0:47 - 0:50
    encountered, and see if they can figure it out.
  • 0:50 - 0:52
    >> This piece of code should look familiar.
  • 0:52 - 0:54
    You saw something similar a few exercises ago,
  • 0:54 - 0:56
    when you're tracking click locations on a website.
  • 0:56 - 1:01
    There's this weird syntax here, with function, location, console.log, etc.
  • 1:01 - 1:03
    What is going on here?
  • 1:03 - 1:06
    What is document.click taking as a parameter?
  • 1:06 - 1:09
    Do some research, try testing it out in DevTools, and
  • 1:09 - 1:10
    put your thoughts right here.
Tytuł:
Independent Research Quiz - JavaScript Basics
Opis:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
ud804 - Javascript Basics
Duration:
01:11

English subtitles

Revisions Compare revisions