Podcast Lookup

Do you want JavaScript again or more JavaScript?

JS Party: JavaScript, CSS, Web Development

  • January 31, 2020
  • 59 min
Episode page
About this episodeIt’s a new year which means companies are hiring and developers are interviewing. So we thought it would be fun to host a fun game of…

It’s a new year which means companies are hiring and developers are interviewing. So we thought it would be fun to host a fun game of technical Jeopardy.

Join the discussion

Changelog++ members support our work, get closer to the metal, and make the ads disappear. Join today!

Sponsors:

  • Rollbar – We move fast and fix things because of Rollbar. Resolve errors in minutes. Deploy with confidence. Learn more at rollbar.com/changelog.
  • Linode – Our cloud server of choice. Deploy a fast, efficient, native SSD cloud server for only $5/month. Get 4 months free using the code changelog2019. Start your server - head to linode.com/changelog.
  • The Brave Browser – Browse the web up to 8x faster than Chrome and Safari, block ads and trackers by default, and reward your favorite creators with the built-in Basic Attention Token. Download Brave for free and give tipping a try right here on changelog.com.

Featuring:

Show Notes:

Here are some of the topics we covered which might be useful to know in a technical interview! You should never have to define any of these things but knowing their concepts and how they work will help you land a job!

CSS HTML
  • Aside
  • DOCTYPE
  • Meta tag
  • iFrame
  • Canvas
The Web
  • HTTPS
  • Cache
  • Cookies
  • TCP/IP
JavaScript
  • Const, let, var
  • Scope / hoisting
  • Undefined, null
  • Protoypes / the prototype chain
  • Promises
  • Higher-order functions
  • Callback functions
  • Closures
  • Map
  • Set
  • Event bubbling / delegation
  • Functional programming
  • Strict mode
  • Prevent default
  • Type of / instance of
Miscellaneous
  • Stack overflow
  • WAI-ARIA & accessibility
  • XSS attacks / security breaches
  • SEO

Something missing or broken? PRs welcome!

Transcript

From the publisher

This transcript comes from the podcast’s own feed, as the publisher wrote it. It has no timestamps.

Do you want JavaScript again or more JavaScript?

00:00—
  1. Emma Bostian

    Welcome to JS Party, JS Jeopardy edition! Yaay, we're so excited! This should be super-fun. I'm really pumped. It's more than just JavaScript, so don't get too excited, but JS Jeopardy sounded way better than Miscellaneous Web Frontend Question Jeopardy. I'm gonna explain the rules really quickly, and then we'll just go ahead and jump right in. The way this is gonna work is I have put together a Google presentation that no one else can see... Which is fine, because we're gonna be talking. I'm gonna share this with you now, so you'll be able to see the categories on the screen and see which ones have been taken already... So let me get this up...

  2. Kevin Ball

    Schmancy!

  3. Emma Bostian

    Yeah I put way too much effort into this. I should have had this all worked out, but you know... Last-minute preparations. So while I'm getting this up, we'll start with Jake, since Jake is our guest... Really quickly, Jake, do you wanna introduce yourself while I get my life together over here?

  4. Jake Dohm

    Sure. I am Jake Dohm, web developer at Good Work Software Consultancy out of Dallas. I build websites and tweet about JavaScript at @JakeDohm. Don't come troll me, or do... Yeah.

  5. Emma Bostian

    Awesome. We're super-excited to have you on, and I'm just gonna wish you the best of luck. So here are the categories for round one. We're gonna start off with five categories, in increments of 100 points. So they start at 100, they go all the way up to 500, and there are five questions in each category. The first category is CSS, the second is JavaScript level 1, the third is JavaScript level 2, and those levels have no semantic meaning. They're just miscellaneous JavaScript questions... But I did try to grade them, so that the 100 questions should be maybe a little bit easier than the 500's. Then we've got the Web as the fourth category, and lastly, I'm Feeling Lucky.

  6. Kevin Ball

    Which is about Google?

  7. Emma Bostian

    No, it's not... \[laughter\] They're just random. We'll have topics, but I thought that sounded more funny than Miscellaneous. So this is round one... We will do a round two afterwards, and then we'll have a final question where you can bet all or nothing.

  8. Jake Dohm

    Uh-oh...

  9. Emma Bostian

    Yeah. As opposed to you ringing buzzers, because this is not a practical way to do this, we're gonna start with Jake. Jake, you'll just pick your category and your question. If you get it right, perfect; we'll just move forward. We'll go to Kball next. If you get it wrong, I'm gonna let Kball have the chance to steal it. But if Kball gets it wrong, we'll end it there and he can start over in a new category. How does that sound?

  10. Kevin Ball

    Wait, what about Chris?

  11. Emma Bostian

    Chris comes third. I just didn't wanna go through the full process of explaining it...

  12. Kevin Ball

    But do we all get the chance to answer it?

  13. Emma Bostian

    I suppose you could, why not? I mean, the rules can change.

  14. Jake Dohm

    The double steal.

  15. Emma Bostian

    Yeah, double steal. So if Kball gets it wrong and Jake gets it wrong, Chris has the chance to get it right. Alright, so Jake, pick your poison!

  16. Jake Dohm

    Let's go JavaScript level one.

  17. Emma Bostian

    \[04:04\] JavaScript level one, for what point value, sir?

  18. Jake Dohm

    I'm gonna start off easy, let's go 100.

  19. Emma Bostian

    For 100. This is to declare a block-scoped element, but cannot be redeclared.

  20. Jake Dohm

    Const. What is const?

  21. Emma Bostian

    Correct! 100 points go to Jake.

  22. Kevin Ball

    Woo-hoo!

  23. Emma Bostian

    I'm also low-key gonna be having to do math in my head while we do this, because I'm gonna be keeping a score in PowerPoint... So just watch my math, please. Alright, so JavaScript Level 1 complete. Alright, Kball, you are up.

  24. Kevin Ball

    Alright, let's go with CSS for 500.

  25. Emma Bostian

    Oh, my goodness, you are starting off strong. CSS for 500 - this is the point system with which styles are applied to HTML elements.

  26. Kevin Ball

    What is specificity?

  27. Emma Bostian

    Correct! Not a lot of people know specificity as a term...

  28. Jake Dohm

    Yeah.

  29. Emma Bostian

    And a lot of people don't even know specificity exists.

  30. Kevin Ball

    Alright, should we do a diversion into specificity? \[laughs\]

  31. Emma Bostian

    We can go off on little tangents... And I just wanna preface this with the fact that - why are we doing this? 2020, obviously, is a new year, if you didn't know... And that means a lot of people are probably gonna be looking for jobs, a lot of jobs are now hiring, and as a result, you're gonna have to go through technical interviews... So this is just some casual prep for that.

  32. Jake Dohm

    Sweet!

  33. Emma Bostian

    Yeah... Noice! Specificity - I wrote a blog post on it, we can link it in the show notes if you're interested in learning more... But there's also ones with Star Wars characters, and stuff, so we'll link that one too, because - Star Wars. Chris, you are up.

  34. Christopher Hiller

    I'm Feeling Lucky for 100.

  35. Emma Bostian

    I'm Feeling Lucky, for 100.

  36. Christopher Hiller

    I'm feeling anxious. \[laughter\]

  37. Jake Dohm

    Same.

  38. Christopher Hiller

    Go ahead...

  39. Emma Bostian

    This occurs when there's a recursive function without an exit point.

  40. Christopher Hiller

    Oh, stack overflow?

  41. Emma Bostian

    Correct! You're all doing real good...

  42. Christopher Hiller

    Oh, what is a stack overflow, I'm sorry.

  43. Emma Bostian

    Yeah, I know... It's hard to remember that phrasing... But yeah, that's really good.

  44. Jake Dohm

    I thought that was gonna be an infinite loop.

  45. Emma Bostian

    Well, I guess technically--

  46. Jake Dohm

    \[unintelligible 00:06:19.11\]

  47. Emma Bostian

    Yeah... I'm feeling anxious - I feel like that's the title of this episode.

  48. Jake Dohm

    \[laughs\]

  49. Emma Bostian

    I think I got that question on a job interview once; I was fresh out of college and I just had no idea... So I'll never forget that. Alright, Jake, we are back to you.

  50. Jake Dohm

    Well, I'm gonna stick with JavaScript. We'll go level 1 for 500.

  51. Emma Bostian

    For 500... JavaScript level 1, for 500... Okay. I'm just scrolling to the section on my iPad if I'm singing, that's why. When trying to access a property of an object, the property will not only be sought in the object, but on this.

  52. Jake Dohm

    It will not only what?

  53. Emma Bostian

    It will not only be sought or looked for on the current object, but on this.

  54. Jake Dohm

    The object prototype?

  55. Emma Bostian

    Yeah! Nice!

  56. Jake Dohm

    What is...

  57. Emma Bostian

    Yeah, it's okay. We'll be a little lenient.

  58. Jake Dohm

    I'm a newb.

  59. Emma Bostian

    So Jake is now 600, we've got Kball at 500, and Chris is at a measly 100. You should feel anxious, Chris... \[laughter\] I'm throwing shade, I'm sorry; I'm a little sassy. Alright, Kball, you are up.

  60. Kevin Ball

    Let's go with the Web for 500.

  61. Emma Bostian

    The Web for 500. You guys are just diving right in. Where is this... The Web for 500. This is a conceptual model and is a set of communication protocols used in the internet and similar computer networks.

  62. Kevin Ball

    Can you repeat the question?

  63. Emma Bostian

    Absolutely. This is a conceptual model and is a set of communication protocols used in the internet and similar computer networks.

  64. Kevin Ball

    \[07:57\] The conceptual model... Interesting. Huh.

  65. Jake Dohm

    Doo doo doo doo...

  66. Kevin Ball

    Yeah, I know...

  67. Emma Bostian

    Five more seconds. Take a guess.

  68. Kevin Ball

    I'm gonna say "What is HTTP?" but I don't think that's right, because that's not a conceptual model...

  69. Emma Bostian

    Wrong...

  70. Jake Dohm

    Oh, no...

  71. Emma Bostian

    I think you let that term throw you off. Unfortunately, that is incorrect, so it moves on to Chris. Chris, would you like me to repeat the question?

  72. Christopher Hiller

    What is the OSI model?

  73. Emma Bostian

    That is also incorrect.

  74. Christopher Hiller

    Aw...

  75. Emma Bostian

    Oh, no... Jake it's up to you?

  76. Jake Dohm

    Okay, could you repeat it one more time, so I can not get it? \[laughter\]

  77. Emma Bostian

    This is a conceptual model and is a set of communication protocols used in the internet and similar computer networks. Why don't you ignore the words "conceptual model" - this is a set of communication protocols used in the internet and similar computer networks?

  78. Jake Dohm

    I'm so bad at this type of thing...

  79. Christopher Hiller

    I call shenanigans...

  80. Jake Dohm

    ...communication. Like, I don't know... LAN? What is LAN? \[laughter\]

  81. Christopher Hiller

    If it's protocol, I would say TCP/IP.

  82. Emma Bostian

    See, that would have been correct.

  83. Jake Dohm

    Oh...!

  84. Christopher Hiller

    But conceptual model - well, there is this model of the network stack, and...

  85. Kevin Ball

    I was in between TCP/IP and HTTP, but... Whatever. We got it.

  86. Emma Bostian

    Well, hold on to that term \[unintelligible 00:09:24.13\]

  87. Kevin Ball

    And why choose TCP instead of UDP?

  88. Emma Bostian

    Because that's the only one I knew... \[laughs\] Don't judge me. Alright, well that round nobody got any points, so... We're back to Kball I believe at this point, right?

  89. Kevin Ball

    No, because I picked the last question, so it should be Chris.

  90. Emma Bostian

    Oh, then it's Chris' turn.

  91. Christopher Hiller

    So everybody's picking these big ones, so I'll do JavaScript level 2 or 500, please.

  92. Emma Bostian

    You've got it. This gives you access to an outer function's scope from an inner function.

  93. Christopher Hiller

    What is hoisting?

  94. Emma Bostian

    No, unfortunately it's not hoisting. It's one of these things that everyone always clams up on when they have to give a definition for... Jake, do you have a guess?

  95. Jake Dohm

    Can I get the question one more time?

  96. Emma Bostian

    Yup. This gives you access to an outer function's scope from an inner function.

  97. Jake Dohm

    An outer function scope from inside an inner function...

  98. Christopher Hiller

    Oh, I think I -- never mind.

  99. Jake Dohm

    Global scope?

  100. Emma Bostian

    Incorrect, unfortunately.

  101. Jake Dohm

    Yeah, I didn't think so...

  102. Emma Bostian

    Kball looks like he's got it.

  103. Kevin Ball

    What is a closure?

  104. Emma Bostian

    Correct! It is a closure! I hate defining closure. That is one of the hardest things... You know, I never get closure. I need closure...

  105. Jake Dohm

    Dang it... Great steal.

  106. Kevin Ball

    We all need a little closure.

  107. Emma Bostian

    Yeah, that's why it's in the 500 point value. That's a hard one to remember. I think we're back to Jake now...

  108. Jake Dohm

    I'm gonna get a little out of my comfort zone and hit up that CSS for 400.

  109. Emma Bostian

    Okay, CSS for 400. This is a long one. I can read it more than once.

  110. Jake Dohm

    Okay.

  111. Emma Bostian

    This is used when you wanna modify your site or your application depending on a device's general type, such as print versus screen, or a specific characteristic and parameter, such as screen resolution or browser viewport width.

  112. Jake Dohm

    What is media queries?

  113. Emma Bostian

    That is correct. Media query!

  114. Jake Dohm

    Boom! I had to get one.

  115. Emma Bostian

    You know, it was just the end of last year I realized media queries was not just about browser resolutions, it's also about like if people have -- what is it?

  116. Kevin Ball

    It's like "prefers reduced motion" and stuff, right?

  117. Emma Bostian

    Yes. They also have like accessibility media queries, which is really cool.

  118. Jake Dohm

    Yeah.

  119. Emma Bostian

    So... Awesome. Kball, you are up.

  120. Kevin Ball

    Alright, I'm Feeling Lucky for 500.

  121. Emma Bostian

    Alrighty, I hope you are feeling lucky...

  122. Jake Dohm

    Did I get those points, Emma?

  123. Emma Bostian

    No.

  124. Jake Dohm

    Let me get those sweet, sweet points. I've gotta see my score all tied up with Kevin here...

  125. Emma Bostian

    \[12:00\] After we finish this round I'll say out loud the point values again, don't worry.

  126. Jake Dohm

    Sweet.

  127. Emma Bostian

    Yeah. If I forget to update, please let me know. Alright, Kball, you just wanted I'm Feeling Lucky for 500.

  128. Kevin Ball

    I chose I'm Feeling Lucky for 500.

  129. Emma Bostian

    Alrighty, good luck. This is a type of computer security vulnerability typically found in web applications, which enables attackers to inject client-side scripts into web pages viewed by other users.

  130. Kevin Ball

    What is cross-site scripting?

  131. Emma Bostian

    Correct. Cross-site scripting, or XXS. Abso-fruitely.

  132. Kevin Ball

    \[laughs\] Abso-fruitely... I haven't heard that. I like that.

  133. Emma Bostian

    Chris, you've really gotta catch up, my friend. For the listeners benefit - Jake has 1,000 points, Kball has 1,500, and Chris has 100. Yes, 100. Come on, Chris! You've got this!

  134. Christopher Hiller

    I'm not good at interviews, or Jeopardy.

  135. Jake Dohm

    \[laughs\]

  136. Emma Bostian

    No one is. That's why I'm hosting and I'm not playing.

  137. Kevin Ball

    \[laughs\]

  138. Christopher Hiller

    God, do you wanna trade? Alright, so... JavaScript level 1 for 400.

  139. Emma Bostian

    Alright, for 400. This is a primitive value automatically assigned to variables that have just been declared, or the formal arguments for which there are no actual arguments.

  140. Christopher Hiller

    What is undefined?

  141. Emma Bostian

    Correct, yay! 400 points. Chris is now at 500. Alright, Jake, you're up.

  142. Jake Dohm

    Alright, let's go JavaScript level 2 for 400.

  143. Emma Bostian

    Okay. This is a function passed into another function as an argument, and then invoked inside the outer function.

  144. Jake Dohm

    What is a callback?

  145. Emma Bostian

    That is correct. That is correct... That was for 400...

  146. Jake Dohm

    What is npm install promisify? \[laughter\]

  147. Emma Bostian

    What even... \[laughs\] Oh, gosh. Alright, Kball, you're up.

  148. Kevin Ball

    Okay, let's go with the Web for 400.

  149. Emma Bostian

    The Web for 400. This is a small piece of data that a server sends to the user's web browser.

  150. Kevin Ball

    What is a cookie?

  151. Emma Bostian

    Correct! I don't understand why things in programming are named after food, or animals...

  152. Jake Dohm

    \[laughs\]

  153. Emma Bostian

    Alright, Chris...

  154. Kevin Ball

    You get a cookie, and you get a cookie, and you get a cookie... \[laughter\]

  155. Christopher Hiller

    I'm Feeling Lucky for 400.

  156. Emma Bostian

    I'm Feeling Lucky for 400. This is a technical specification published by the World Wide Web Consortium (W3C) that specifies how to increase the accessibility of web pages.

  157. Christopher Hiller

    What is ARIA?

  158. Emma Bostian

    Correct! I will give it to you. I had WAI-ARIA written, but ARIA is totally correct. So that brings up to 900. No pressure, Chris, you kind of need this one. If you guys are not in the JS Party channel, please join us, because it's a lot of fun in that room right now. Alright, Jake, you're up.

  159. Jake Dohm

    Alright, let's see here... I'm gonna branch out over back into CSS. I'll do 300.

  160. Emma Bostian

    Okay, CSS for 300. This is used to specify values for animating an element in various stages.

  161. Jake Dohm

    What is keyframes?

  162. Emma Bostian

    Correct.

  163. Jake Dohm

    Wooh!

  164. Emma Bostian

    Woo-hoo! Like, a lot of these you wouldn't be asked on a technical interview, they're just good to know.

  165. Jake Dohm

    Yeah. I really need Kevin to drop around here... Alright.

  166. Emma Bostian

    Alright, Kball...

  167. Kevin Ball

    Alright, let's go with JavaScript level 1 for 300.

  168. Emma Bostian

    Alrighty. This determines the accessibility of variables.

  169. Kevin Ball

    What is scope?

  170. Emma Bostian

    Correct. Correct, scope. What's nine plus three? Nine plus three is two. I have such trouble adding simple numbers in my head, but I can draw \[unintelligible 00:15:50.23\] on a board, it's fine.

  171. Kevin Ball

    Nine plus three is two, so you're natively adding \[unintelligible 00:15:57.12\]

  172. Emma Bostian

    Yeah. It's really hard for me to remember nine plus-- well, nine's not so bad, but other simple numbers... Seven - forget about it. Anyway... Alright, Chris, you're up.

  173. Christopher Hiller

    \[16:08\] JavaScript, level 2 for 300.

  174. Emma Bostian

    Alright, JavaScript level 2 for 300. Guess what - this is double Jeopardy! I don't have any noises, so... That's my noise.

  175. Jake Dohm

    \[laughs\]

  176. Kevin Ball

    Wait, how does that work again? Oh, he gets to bet something?

  177. Emma Bostian

    No, we double the points, so it's actually gonna be for 600. So if he gets it right, he gets 600.

  178. Kevin Ball

    Woo-hoo!

  179. Emma Bostian

    Also, if you get it wrong, it's supposed to detract from your score, but since we're not buzzing it, I'm not doing that. You just get it if you get it right. Alright, this is gonna be worth 600 if you get it right... This is a function that takes a function as an argument, or returns a function.

  180. Christopher Hiller

    What is a higher-order function?

  181. Emma Bostian

    Yeah! Correct! 600.

  182. Jake Dohm

    That's a good one.

  183. Kevin Ball

    Jake was ready to steal that...

  184. Jake Dohm

    I was... I was so ready to steal!

  185. Emma Bostian

    Well, Jake, he's coming for you. Chris is now at 1,500 with that, Jake's at 1,700, and Kball is at 2,200... So that's getting closer. Alright, let's see what you've got... That's you, Jake; I didn't even say that loud, but it's Jake's turn.

  186. Jake Dohm

    Let's see... Well, I think I can get another 300 here, so I'll take I'm Feeling Lucky for 300.

  187. Emma Bostian

    Okay.

  188. Jake Dohm

    But I'm Not Feeling Lucky, so...

  189. Emma Bostian

    Yeah, let's see... This is a process of changing the position of a web page or a website in search engine results by using keywords or phrases.

  190. Jake Dohm

    What is search engine optimization?

  191. Emma Bostian

    Correct.

  192. Jake Dohm

    Sweet!

  193. Kevin Ball

    It is about Google I'm Feeling Lucky...

  194. Emma Bostian

    Well, that one... Alright, you're officially at 2,000.

  195. Jake Dohm

    Don't forget about Bing, everyone...

  196. Emma Bostian

    Alright, Kball...

  197. Kevin Ball

    Alright, I'll take that last number 300 on the Web, for 300.

  198. Emma Bostian

    The Web for 300. This is a hardware or software component that stores data so that future requests for that data can be served faster.

  199. Kevin Ball

    What is a cache?

  200. Emma Bostian

    Correct. So Kball is still in the lead by 500 points. Alright, Chris...

  201. Christopher Hiller

    Give me JavaScript level 1 for 200.

  202. Emma Bostian

    Alright. This is used to declare a block-scoped element and can be redeclared.

  203. Christopher Hiller

    What is let?

  204. Emma Bostian

    Correct. Alright, Jake, you are up.

  205. Jake Dohm

    Let's do JavaScript level 2 for 200.

  206. Emma Bostian

    Alright, this represents the eventual completion or failure of an asynchronous operation and its resulting value.

  207. Jake Dohm

    What is a promise?

  208. Emma Bostian

    Correct. I hate promises, I hate explaining them... I will never get that right in a technical interview... I promise I will get it wrong... \[laughter\] Okay, Kball...

  209. Kevin Ball

    I'll take CSS for 200.

  210. Emma Bostian

    Okay, CSS for 200. This is a one-dimensional layout model which distributes elements along an axis.

  211. Kevin Ball

    What is Flexbox?

  212. Emma Bostian

    Correct. Flexbox is a wonderful tool, and there are some fun games that you can use to learn it, like Flexbox Froggy. Flexbox Defense I think is another one...

  213. Kevin Ball

    I just saw a wonderful article about something done actually by a guy who was on our show at some point... Where somebody created a responsive layout that did three different layouts based on size, without a single media query, using Flexbox.

  214. Emma Bostian

    Dang...

  215. Kevin Ball

    Or four. Four different layouts, actually.

  216. Emma Bostian

    I love Flexbox. It's one of the best tools you can learn for CSS.

  217. Kevin Ball

    Yeah, Adam Argyle shared that...

  218. Emma Bostian

    Oh, okay... Nice.

  219. Kevin Ball

    Yeah. Anyway, cool stuff. I can include a link to that in the show notes, and it's gonna be in my newsletter this week; so if you're on that, you should get it.

  220. Emma Bostian

    Absolutely, for sure.

  221. Jake Dohm

    I love Flexbox Zombies too, the gamified thing by David Geddes So good. Yeah, that's how I really learned it.

  222. Emma Bostian

    \[19:58\] Awesome. Well, we're gonna have all these in the show notes if you wanna check them out later. Alright, we've got five questions left before we take a break, so with that I think it's over to Chris now, right? Or are we on Kball?

  223. Kevin Ball

    No, I just went. It's Chris.

  224. Emma Bostian

    Okay.

  225. Christopher Hiller

    I'm Feeling Lucky for 200.

  226. Emma Bostian

    Okay. This global attribute indicates than an element can be focused in where it participates in sequential keyword navigation.

  227. Christopher Hiller

    Say that again?

  228. Emma Bostian

    Yeah, if I can... I messed up reading it. This global attribute indicates than its element can be focused on and where it participates in sequential keyword navigation.

  229. Christopher Hiller

    What is tab index?

  230. Emma Bostian

    Yes, absolutely, what is tab index. Noice! Alright, Jake...

  231. Jake Dohm

    Well, I guess I'm gonna have to go with the Web. Let's do the Web for 200.

  232. Emma Bostian

    The Web for 200... This is a protocol for secure communication over a computer network.

  233. Jake Dohm

    What is HTTPS or SSL? Do I have to pick one?

  234. Emma Bostian

    Yeah, you do... \[laughs\]

  235. Jake Dohm

    They're like the same, right? Like, one is the other -- let's see, the protocol is HTTPS.

  236. Emma Bostian

    Perfect. That is correct. Awesome. Kball, you are up.

  237. Kevin Ball

    Alright, let's see... I've got CSS, JavaScript Level 2 or the Web. Let's do CSS for 100.

  238. Emma Bostian

    Alright, CSS for 100. This display property allows you to set a width and height on an in-line element.

  239. Kevin Ball

    A width and a height on an in-line element. What is in-line block?

  240. Emma Bostian

    Correct. Display in-line block. I mean, I feel like half the answer was in the question, but it's fine. Alright, Chris - pick your poison. Are we going JavaScript or are we going the Web?

  241. Christopher Hiller

    JavaScript.

  242. Emma Bostian

    Alrighty, JavaScript level 2 for 100. This represents the intentional absence of any object value.

  243. Christopher Hiller

    What is null?

  244. Emma Bostian

    Correct, what is null. When I'm reading some of these, I'm like "I definitely would not have gotten these", but to be fair, I pulled up Mozilla's definitions, so... Alright, Jake, you are bringing us home with the Web.

  245. Jake Dohm

    Let's do it.

  246. Emma Bostian

    I don't even know why I was about to ask you which one you wanted. Alright, to finish up this round, the Web for 100. This is the HTTP status code that indicates everything was successful.

  247. Jake Dohm

    What is 200?

  248. Emma Bostian

    Correct, what is 200. And with that, I think that wraps up the round. Did I put your point values the last round?

  249. Kevin Ball

    I think so...

  250. Christopher Hiller

    I need about 800 more... \[laughter\]

  251. Emma Bostian

    So in third place we have Chris at 1,900, in second place - a close second place - we've got Jake with 2,500, and Kball is leading with 2,800. We're gonna take a break, but when we come back we've got round two with some other really fun topics.

  252. Break

    \[23:01\]

  253. Emma Bostian

    Welcome back to JS Jeopardy! Just to recap, we've got Chris in third place with 1,900 points, but he's doing really well and we're really proud of him. In second we've got Jake with 2,500, and in the lead we've got Kball with 2,800. This round the points are doubled, and we've got some new categories, kind of. The first category is HTML, the second one is CSS Part II, the third is JavaScript, the fourth is Even More JavaScript, and the last one is JavaScript frameworks. I don't remember who -- Jake, you answered last last time...

  254. Jake Dohm

    Yeah.

  255. Emma Bostian

    ...so I think we'll start with Kball this time.

  256. Kevin Ball

    Alright, let's see... Let's go with JS Frameworks for 1,000.

  257. Emma Bostian

    JS Frameworks for 1,000. This framework follows the model vue Vue model (MVVM) pattern, was created in 2011, and was just ranked the least interesting JavaScript framework in the State of JavaScript survey.

  258. Jake Dohm

    Oh, shade...

  259. Kevin Ball

    That's obscure...

  260. Emma Bostian

    That's why it's the highest value... \[laughs\]

  261. Kevin Ball

    I'm not gonna look up the survey, and I'm actually gonna guess based on the MVVM. What is Knockout.js?

  262. Emma Bostian

    That is incorrect. Chris, you've got a chance. Come on, you can do this.

  263. Kevin Ball

    No Google.

  264. Christopher Hiller

    The most uninteresting?

  265. Emma Bostian

    Yeah, this year...

  266. Christopher Hiller

    What is Backbone.js?

  267. Emma Bostian

    No, unfortunately that is incorrect.

  268. Christopher Hiller

    Oh, my god...

  269. Emma Bostian

    Alright, Jake, you've got a chance...

  270. Jake Dohm

    Okay, can I get the question one more time?

  271. Emma Bostian

    You're just stalling... \[laughter\] This framework follows the model vue Vue model (MVVM) pattern, was created in 2011, and was just ranked the least interesting JavaScript framework in the State of JavaScript survey.

  272. Jake Dohm

    2011 is early... MVVM... Honestly, 2011 is a little before my time, but I'm gonna go with -- so it's a framework... Was Angular around all the way back then? That's pre-Angular...

  273. Emma Bostian

    I'm gonna need an answer, sir...

  274. Jake Dohm

    Marionette? Didn't that go with Backbone?

  275. Emma Bostian

    I don't even know what that is.

  276. Jake Dohm

    Yeah, I don't know... What is "Jake is clueless"?

  277. Emma Bostian

    Alright, you all unfortunately did not get it, but it was Ember...

  278. Kevin Ball

    Oh, snap.

  279. Jake Dohm

    Oh, I was gonna go with Ember! I didn't think it was around back then.

  280. Emma Bostian

    Yeah, it was. Well, we're starting off strong this round, so...

  281. Kevin Ball

    It wasn't called Ember back then though, was it? It was called SproutCore.

  282. Emma Bostian

    Alright, Kball, you're getting all technical; you still would have gotten it wrong... \[laughter\] Alright, spicy... Chris, you're up. \[laughter\]

  283. Christopher Hiller

    I'll get JavaScript again for 1,000.

  284. Emma Bostian

    JavaScript again for 1,000. Okay, this is the way to opt into a restricted variant of JavaScript.

  285. Christopher Hiller

    What is the use strict directive?

  286. Emma Bostian

    Correct. Yay, you're now in the lead! In a twist of events, Chris has 2,900 points. Kball has 2,800 and Jake has 2,500, so it's really anyone's game at this point...

  287. Jake Dohm

    Wow...

  288. Emma Bostian

    Alright, Jake, go for it.

  289. Jake Dohm

    Let's see... I'll do Even More JavaScript for 1,000.

  290. Emma Bostian

    Even More JavaScript for 1,000. This is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution.

  291. Jake Dohm

    What is hoisting?

  292. Emma Bostian

    That is correct. So Jake now pulls out into the lead!

  293. Jake Dohm

    Woo-hoo!

  294. Kevin Ball

    I picked the wrong category... \[laughter\]

  295. Jake Dohm

    Yeah, I would have picked frameworks too, but that was a good, hard question.

  296. Emma Bostian

    I feel like you were floating on a cloud though, Kball, and you needed a little reality check, so I think it's only fair...

  297. Kevin Ball

    That's my life.

  298. Emma Bostian

    I'm savage right now... Alright, well you're up anyway. You've got a chance to redeem yourself.

  299. Kevin Ball

    Let's go with CSS Part II then, for 1,000.

  300. Emma Bostian

    CSS Part II for 1,000. This is double Jeopardy, so this is gonna be worth 2,000 if you get it correct. Alright... This combines other selectors in a way that gives them a useful relationship to each other, and the location of content in the document.

  301. Kevin Ball

    Can you repeat that?

  302. Emma Bostian

    This combines other selectors in a way that gives them a useful relationship to each other, and the location of content in the document.

  303. Kevin Ball

    \[28:18\] Ooh...

  304. Emma Bostian

    It is a hard one.

  305. Kevin Ball

    Yeah, so that's interesting... This gives them a useful relationship to each other... I can think of some examples, but I'm trying to remember what it's called.

  306. Emma Bostian

    Mm-hm... No, he's not googling, Jerod. I see his hands... \[laughs\]

  307. Kevin Ball

    My hands are up here.

  308. Emma Bostian

    But I am gonna need an answer, sir...

  309. Kevin Ball

    What is a sibling selector?

  310. Emma Bostian

    No, unfortunately that is incorrect... But Chris, you've got a chance to win 2,000 right now.

  311. Christopher Hiller

    Can you please repeat it?

  312. Emma Bostian

    I can. Don't get anxious, it's okay... This combines other selectors in a way that gives them a useful relationship to each other, and the location of content in the document. This is not something people normally know the term for, that's why it's valued at 1,000.

  313. Kevin Ball

    2,000, double Jeopardy.

  314. Emma Bostian

    It is 2,000.

  315. Christopher Hiller

    What is... I don't know. What is CSS? \[laughter\]

  316. Emma Bostian

    That unfortunately is incorrect, but I appreciated the response. Jake, any idea? You've had a long chance to think about it, so I'm gonna expect an answer pretty quickly here.

  317. Jake Dohm

    I'm gonna go with the direct descendent selector...

  318. Emma Bostian

    Unfortunately, that is incorrect... But both what you and Kball said are examples of this, and that is a combinator.

  319. Jake Dohm

    Oh, nice... Wow.

  320. Emma Bostian

    And that was even the second word in that question, "This combines...", so it was similar. It's a combinator. But yeah, most people definitely do not know. That was definitely a hard one. Alright, Chris, it is your chance.

  321. Christopher Hiller

    I'll do JavaScript again for 800.

  322. Emma Bostian

    JavaScript again for 800. This is the process of building software by composing pure functions, avoiding shared state, mutable data and side effects. This is declarative, rather than imperative, and application state flows through pure functions.

  323. Christopher Hiller

    What is functional programming?

  324. Emma Bostian

    Absolutely, what is functional programming.

  325. Jake Dohm

    Yeah, what is functional programming...? \[laughs\]

  326. Emma Bostian

    Exactly. So you are now at 3,700. Chris is at 3,700 - he is actually in the lead - Jake is in second place at 3,500, and in a twist of events, Kball is last, with 2,800 points. Alright, Jake, you're up...

  327. Jake Dohm

    My how the turn tables... Let's see. You know you're on JS Party when no one wants to take HTML, so I'm gonna brave that. I'm gonna take HTML for 1,000 and see how it goes.

  328. Emma Bostian

    HTML for 1,000. It was really hard to find questions for this category \[unintelligible 00:30:53.28\] This element is used to draw graphics and animations.

  329. Jake Dohm

    Oh, good night; I know it, I'm just blanking out. Let's see - to draw graphics, it starts with an F... Figment... Oh, dang it. Ken Wheeler made a library that uses it...

  330. Emma Bostian

    Alright, Jake, I need a response...

  331. Jake Dohm

    What is Figma? I don't know... Dang it!

  332. Emma Bostian

    Incorrect, unfortunately.

  333. Jake Dohm

    It's on the tip of my tongue...

  334. Emma Bostian

    Kball, over to you.

  335. Kevin Ball

    I'm gonna go with "What is the canvas element?"

  336. Emma Bostian

    That is correct...

  337. Jake Dohm

    Yeah, canvas starts with an f, too. It's silent.

  338. Emma Bostian

    ...putting you in the lead by 100 points. Nice! Alright, Chris, you're up again, and you're doing really well and everyone's rooting for you.

  339. Kevin Ball

    Wait, what about my turn?

  340. Christopher Hiller

    Oh wait -- yeah, it's Kevin's turn.

  341. Emma Bostian

    Is it?

  342. Kevin Ball

    Because you picked that one, right?

  343. Emma Bostian

    Oh, shoot. You're up, I'm sorry.

  344. Jake Dohm

    Yeah, that was a steal...

  345. Emma Bostian

    My bad, my bad... Alright, Kball, you're up.

  346. Kevin Ball

    Riding that momentum, I'm gonna go with HTML for 800.

  347. Jake Dohm

    \[laughs\]

  348. Emma Bostian

    HTML for 800. This element represents a nested browsing content embedding another HTML page into the current one.

  349. Kevin Ball

    What is an iFrame?

  350. Emma Bostian

    \[32:09\] That is correct, what is an iFrame.

  351. Kevin Ball

    Speaking of being old, have y'all ever used non-iFrames, like the old frames?

  352. Emma Bostian

    No...

  353. Kevin Ball

    Yeah, you can do that, too. It's fixed frames, and they do some other interesting stuff.

  354. Emma Bostian

    I've never even used iFrames, in all honesty... I didn't ever really have a reason to, so...

  355. Kevin Ball

    Someday, if you ask, I can tell you the story of when I did three layers of framing to embed essentially navigation from a website into a Shopify page that was trying to feel like it was the same as that website. There's some really interesting hacks you can do with iFrames, and back in the day I may have done them all... But that's like ten years ago now, so...

  356. Emma Bostian

    Oh, wow... Yeah, I would love to learn more about your ZURB Foundation days as well...

  357. Kevin Ball

    That's true; that's not even that far back, but yeah. Anyway, iFrames are cool and powerful, and you should never use them now, because there's so many other things you can do... \[laughter\] Almost never. Almost never use them.

  358. Emma Bostian

    Well, now it is actually your turn, Chris.

  359. Christopher Hiller

    Can I get Even More JavaScript for 800?

  360. Emma Bostian

    Even More JavaScript for 800... Okay - this is a hard one, I'm sorry. This refers to the process of using event propagation or bubbling to handle events at a higher level in the DOM than the element on which the event originated. I would not have gotten this right...

  361. Christopher Hiller

    Yeah, I'm not sure... What does this have to do with JavaScript? \[laughter\] Yeah, I don't know. Pass.

  362. Emma Bostian

    It's okay. Jake, you're up. Do you have any idea?

  363. Jake Dohm

    What is event delegation?

  364. Emma Bostian

    That is correct!

  365. Jake Dohm

    Hey! Let's go!

  366. Kevin Ball

    Jake with the steal!

  367. Emma Bostian

    Eight plus five is twelve, correct?

  368. Jake Dohm

    It's thirteen, yeah...

  369. Emma Bostian

    Thirteen. This episode is gonna be called "Emma trying to do math." \[laughter\] Yeah, event delegation - that's one that I feel like I've been asked in a technical interview, but again, had trouble describing, so...

  370. Jake Dohm

    Yeah. That description - it took me a minute. I had a light bulb moment, but that was after a minute.

  371. Kevin Ball

    I'm glad you got it, because I would not have.

  372. Jake Dohm

    \[laughs\]

  373. Emma Bostian

    It's your turn again, Jake.

  374. Jake Dohm

    Okay, let's go -- as scared as I am of this category, let's go JS Frameworks for 800.

  375. Emma Bostian

    JS Frameworks for 800. This is a JavaScript library designed to simplify the HTML DOM tree traversal and manipulation, and was created in 2006.

  376. Jake Dohm

    What is the best library ever made, jQuery?

  377. Emma Bostian

    That is correct, jQuery.

  378. Jake Dohm

    Yay!

  379. Emma Bostian

    That puts you at 5,100.

  380. Kevin Ball

    The way you said that, I realized why Jake is calling JAKEuery the best ever...

  381. Jake Dohm

    \[laughs\] JAKEuery.

  382. Emma Bostian

    I think that's a new Twitter handle. Alright, Kball, you're up.

  383. Kevin Ball

    Let's go with the last remaining 800, CSS Part II for 800.

  384. Emma Bostian

    CSS Part II for 800. This is a keyword added to a selector that lets you style a specific part of the selected element.

  385. Kevin Ball

    This is a keyword added to a selector that lets you style a specific part of the... Hm. What is a pseudo-selector?

  386. Emma Bostian

    Um, nope...

  387. Kevin Ball

    Okay. \[laughs\]

  388. Emma Bostian

    \[laughs\] That's over to Chris...

  389. Christopher Hiller

    A keyword, right?

  390. Emma Bostian

    Yeah... I'm trying to be shady about this, because you were really close, Kball, but it wasn't correct.

  391. Christopher Hiller

    What is a pseudo-attribute?

  392. Emma Bostian

    Also very close, but not correct. Jake knows it, doesn't he?

  393. Jake Dohm

    I think so... What is a pseudo-element selector?

  394. Emma Bostian

    That is correct. Pseudo-element. There's no selector. So it's just pseudo-element.

  395. Kevin Ball

    \[36:06\] I'm gonna dispute that... \[laughs\] So pseudo-elements - would you argue that they're actually styling a part of that thing? They're a way to select without -- no, I guess that makes sense... Never mind.

  396. Jake Dohm

    The description is a little mind-bendy.

  397. Emma Bostian

    Yeah, it's like the :: before and :: after, so yeah, it's technically an element that's not an element.

  398. Kevin Ball

    Yeah. Well, in the newer generations there's also pseudo-elements like first letter, and things like that, which do match that description that you're using there a little bit more closely than how I would think of a before/after... But okay.

  399. Emma Bostian

    Right...

  400. Kevin Ball

    Alright, I withdraw my objection.

  401. Emma Bostian

    Okay... Glad to hear it, because I don't think I had a case. \[laughter\] Okay. Chris, you're up.

  402. Christopher Hiller

    JavaScript again for 600.

  403. Emma Bostian

    JavaScript again for 600. This is a type of event propagation where the event first triggers on the inner-most element, and then successively triggers on the ancestors of the target element in the hierarchy, until it reaches the outer-most element.

  404. Christopher Hiller

    What is event bubbling?

  405. Emma Bostian

    That is correct! Event bubbling. Yay! Okay, that was 600, so... What's seven plus six? Someone help me. What's seven plus six?

  406. Kevin Ball

    Thirteen.

  407. Emma Bostian

    Thirteen. 4,300. Wow, this is embarrassing... I went to college, I promise... I just really didn't do well at math. Okay, so...

  408. Kevin Ball

    I'm cheating, because my kids are currently working on this stuff, so...

  409. Emma Bostian

    Oh, maybe I should practice with them. In first place so far we have Jake at 5,900, we've got Kball at 4,600, and Chris at 4,300. Yeah, I think let's do one more round, then we'll take a break and we'll come back for the last little piece... What do you think?

  410. Kevin Ball

    Sure.

  411. Jake Dohm

    Sounds cool.

  412. Emma Bostian

    Alright, cool. Who's turn is it?

  413. Kevin Ball

    Jake, I think...

  414. Jake Dohm

    I think it's me.

  415. Emma Bostian

    Okay.

  416. Jake Dohm

    Yeah. I'm gonna go with CSS for 600.

  417. Emma Bostian

    Okay. This is a program that lets you generate CSS from its own unique syntax. This is not an easy one.

  418. Jake Dohm

    A program? Would you say an application?

  419. Emma Bostian

    Yeah... I would say this is like a tool that lets you generate CSS from its own unique syntax.

  420. Jake Dohm

    Hm. From its own unique syntax... I'll go with "What is PostCSS?"

  421. Emma Bostian

    That's a little too specific, so unfortunately I need it to go to Kball.

  422. Kevin Ball

    I'm gonna say "What is a CSS preprocessor?"

  423. Emma Bostian

    That is correct.

  424. Jake Dohm

    Oh, there you go.

  425. Emma Bostian

    Yeah... It's hard to come up with a definition for that, because it's like--

  426. Jake Dohm

    Yeah...

  427. Kevin Ball

    I was also gonna say - PostCSS is kind of interesting... It's like, it's Babel for CSS, so it could be used with your own unique syntax, or it could just be mucking around with your CSS.

  428. Jake Dohm

    Yeah.

  429. Kevin Ball

    It's a CSS transpiler.

  430. Emma Bostian

    Hm, nice. Well, Kball, it's up to you now.

  431. Kevin Ball

    Okay. Well, I've had best luck so far with HTML, so I'm gonna go with HTML for 600.

  432. Emma Bostian

    Okay. This element represents data that cannot be represented by other HTML meta-related elements, like base, link, script, style or title.

  433. Kevin Ball

    Can you repeat that?

  434. Emma Bostian

    Yeah. This element represents data that cannot be represented by other HTML meta-related elements, like link, base, script, style or title.

  435. Kevin Ball

    Okay, let's see... I'm gonna do the interview thing and talk my thinking out loud...

  436. Emma Bostian

    Please do.

  437. Kevin Ball

    \[39:58\] So that inclines me to believe it is a meta attribute of some sort, because of both the examples given, and there was the word meta in there... So it's some sort of meta attribute, and I'm actually gonna just go with the meta element, because the other examples were elements.

  438. Emma Bostian

    That is correct. And yeah, it was a little obvious if you listened to the definition... \[laughs\] But you know, I just went with it anyway.

  439. Kevin Ball

    I tell you, it did not feel obvious.

  440. Emma Bostian

    Okay. Well, it does if you know the answers... \[laughter\] It's funny how that works; I'd be a terrible interviewer. Alright, Chris, you're up.

  441. Christopher Hiller

    Can I get Even More JavaScript for 600?

  442. Emma Bostian

    Yeah, Even More JavaScript for 600. This tests whether the prototype property of a constructor appears anywhere in the prototype chain of an object. I would not get this...

  443. Christopher Hiller

    Are you looking for a function?

  444. Emma Bostian

    Yeah.

  445. Christopher Hiller

    Okay. Object dot -- I don't think I ever use this \[unintelligible 00:40:57.20\]

  446. Emma Bostian

    I don't think it's a proper function, let me take that back... It's a special keyword, I guess, that would check whether the prototype property of a constructor--

  447. Christopher Hiller

    Oh, yeah - what is the in keyword?

  448. Emma Bostian

    No. Think about prototypes. I have to pass it to Jake just to be fair, but think about the prototype chain.

  449. Jake Dohm

    What is "has own prototype"?

  450. Emma Bostian

    No, that's also not correct.

  451. Kevin Ball

    Could you repeat the question?

  452. Emma Bostian

    Yeah. This tests whether the prototype property of a constructor appears anywhere in the prototype chain of an object.

  453. Kevin Ball

    What is instance of?

  454. Emma Bostian

    That is correct, yes. Instance of.

  455. Jake Dohm

    Oh, that's good stuff.

  456. Emma Bostian

    Yeah, that's a hard one. Alright, so with that we'll take one more quick break, and then when we come back, we've just got a few more questions, and our final question, and we'll see where everyone stands.

  457. Break

    \[41:58\]

  458. Emma Bostian

    Alright, so we are back with the final wrap-up for JS Jeopardy. Unfortunately, Chris had to leave, but we have given him an honorary medal of survival, because he survived... And I think he hates me now. But in any case, Chris, you did a great job. And let's just continue... I don't remember who we left off with?

  459. Kevin Ball

    I think it's Jake's turn.

  460. Emma Bostian

    Alright.

  461. Jake Dohm

    I'll take JS Frameworks for 600... The last 600.

  462. Emma Bostian

    Alrighty. This is an open source JS framework and was developed by Google in 2010.

  463. Jake Dohm

    What is Angular?

  464. Emma Bostian

    That is correct.

  465. Jake Dohm

    Woo-hoo!

  466. Emma Bostian

    So now you're at 6,500... Was that right?

  467. Kevin Ball

    Yeah.

  468. Emma Bostian

    Okay, cool. Kball, you're up.

  469. Kevin Ball

    I'm gonna continue to shy away from those JS frameworks and I'll go with HTML for 400.

  470. Emma Bostian

    HTML for 400. This is an instruction to the web browser about what version of HTML the page is written in.

  471. Kevin Ball

    Ooh, what is that called...?

  472. Jake Dohm

    Oh, it has been so long...

  473. Kevin Ball

    I know exactly where it is, what it looks like... Oh, gosh. I have no idea what that's called. I'm gonna say "What is the page directive?"

  474. Emma Bostian

    \[44:05\] That is incorrect. I'm looking for a very specific word.

  475. Jake Dohm

    What is doctype?

  476. Kevin Ball

    Yes, well done!

  477. Emma Bostian

    That is correct!

  478. Kevin Ball

    I forgot... I could not remember. Well done.

  479. Jake Dohm

    I was racking my brain... It's been so long since I've put a doctype on something...

  480. Kevin Ball

    You earned that one.

  481. Emma Bostian

    Okay, so that was for 400. So Jake's at 6,900, Kball's at 6,400... It is a very close match. Alright, Jake, you're up.

  482. Jake Dohm

    Let's go with JS Frameworks for 400.

  483. Emma Bostian

    This is an open source JavaScript framework created by Evan Yu in 2014, and is very quickly gaining popularity.

  484. Jake Dohm

    What is the second-best framework/library after jQuery - Vue. \[laughter\]

  485. Emma Bostian

    I thought you were gonna say React. I was like "Oh, no... So much shade!"

  486. Jake Dohm

    \[laughs\] I mean... Both are great, don't get me wrong.

  487. Emma Bostian

    I like Vue a lot, and the community is really nice.

  488. Jake Dohm

    Truth.

  489. Emma Bostian

    Alright. Kball, you're up.

  490. Kevin Ball

    Let's go with JavaScript again for 400.

  491. Emma Bostian

    Okay. This data type lets you store unique values of any type, whether primitive values or object references.

  492. Kevin Ball

    What is a variable?

  493. Emma Bostian

    That is incorrect.

  494. Kevin Ball

    \[unintelligible 00:45:12.26\]

  495. Jake Dohm

    Can I get the question?

  496. Emma Bostian

    Yeah. Do you want me to repeat it?

  497. Jake Dohm

    Yeah.

  498. Emma Bostian

    This data type lets you store unique values of any type, whether primitive values or object references. Unique values...

  499. Jake Dohm

    Yeah, what is a set?

  500. Emma Bostian

    That is correct.

  501. Kevin Ball

    Oh, I see. Got it. Yeah, I misheard. Oh, well...

  502. Emma Bostian

    Sorry, my bad. \[unintelligible 00:45:35.22\]

  503. Kevin Ball

    No, that's entirely on me. You said the same words to me as to Jake.

  504. Jake Dohm

    No, I only got it with the second reading, when she said "unique". I was like "It can't just be an object..." Yeah, that was a good question.

  505. Emma Bostian

    Alright, Jake, it's back to you.

  506. Kevin Ball

    You're running away with it.

  507. Jake Dohm

    Let's see... I'll take CSS for 400.

  508. Emma Bostian

    This is a keyword added to a selector that specifies a special state of the selected element.

  509. Jake Dohm

    It's not a specific state... What is a pseudo-selector?

  510. Emma Bostian

    Incorrect. Alright, Kball, you know this. It is a keyword added to a selector that specifies a special state.

  511. Kevin Ball

    Yeah... I know the examples of it, right? This is like hover, or...

  512. Emma Bostian

    I know, I know...

  513. Kevin Ball

    ...focus... What is it called? It's not called a pseudo-selector, because that's... Hm.

  514. Emma Bostian

    It was pretty close, just sayin'...

  515. Kevin Ball

    What is a state selector?

  516. Emma Bostian

    No, you changed the wrong part of the answer. It's actually a pseudo-class.

  517. Kevin Ball

    A pseudo-class... Oh, yeah. Okay.

  518. Emma Bostian

    Yup.

  519. Jake Dohm

    I didn't know there was a difference.

  520. Emma Bostian

    Yeah.

  521. Kevin Ball

    A pseudo-selector is gonna do something like first child, or something like that, right? That's gonna --

  522. Jake Dohm

    Oh, yeah... There you go. Alright. Learn something every day.

  523. Emma Bostian

    Um, are we back to Kball? Is this Kball's...?

  524. Kevin Ball

    Yeah. By the way, we're noticing -- these types of interview questions, if you're asking these, don't.

  525. Emma Bostian

    Don't. Don't do it!

  526. Kevin Ball

    Don't do it. Jake, I actually don't know your background, but between Chris and I, we have dozens of years of experience, lots of huge product stuff... Jake, I'm sure you're very successful, I just don't know your background... And we're totally missing these, because they don't actually measure anything that will help you code.

  527. Emma Bostian

    No. Although to be fair, I was asked to define a closure and I just looked at them and I was just like "Um... Okay..."

  528. Kevin Ball

    That's actually a really good -- you should call them out. If you're getting asked these questions, call out your interviewer. Be like "What are you testing for? You're not testing for my ability to code."

  529. Emma Bostian

    \[47:50\] Yeah... That's really hard though. It's really hard in the moment, when you're the -- "subordinate" is not the right word, but you're not in a position of interviewing, so it's really uncomfortable to just call someone out and be like "Well, actually, it's a terrible question..." "I can explain how it works and I can show you what it's useful for, but I can't give you a definition."

  530. Kevin Ball

    Yeah. And hopefully, at some point you flip into the mode or there's enough abundance for you or there's enough opportunities for you where you're also interviewing them, to be like "Is this a place I wanna work?" and if they're asking questions like these, the answer is probably no. So yeah... I mean, there's lots of good ways to do interviews, there's lots of bad ways to do interviews, and we should be having this conversation -- I think we talked about this in the All Things Open episode and a few other things. This type of interview question is not helpful for interviewing... But it's fun. So let's keep rolling out, I don't wanna detour us too far.

  531. Emma Bostian

    Correct, yeah. And as a last note, these are really good topics to know about. You don't need to know their definitions, but understanding pseudo-selectors is really important, understanding CSS specificity is important, and understanding scope, closure, all those things. In any case...

  532. Kevin Ball

    Oh, absolutely. And they are valuable topics, and these are really useful -- this would be really good as a way to like "Oh, I don't know anything about that. Let me go study it." But yeah, don't be using them in interview questions. Alright, last 400, Even More JavaScript.

  533. Emma Bostian

    Even More JavaScript for 400. Do you know how hard it is to find things on an iPad when things aren't organized...? Okay. Even More JavaScript for 400. This operator returns a string indicating the type of the unevaluated operant--

  534. Kevin Ball

    What is the type of operator?

  535. Emma Bostian

    I didn't read that definition out before... I literally was like "Give away..." Yes, the type of... Okay, Jake, you're up.

  536. Jake Dohm

    I'll take HTML for 200.

  537. Emma Bostian

    HTML for 200.

  538. Jake Dohm

    Trying to steal Kball's Gimme HTML over there.

  539. Emma Bostian

    This element represents a portion of the document whose content is only indirectly related to the main content.

  540. Jake Dohm

    What is aside?

  541. Emma Bostian

    That is correct. You have 7,900 and Kball has 6,800. It's okay, Kball, there's a last chance you'll have to catch up.

  542. Kevin Ball

    It's all good. Let's go with CSS Part II for 200.

  543. Emma Bostian

    CSS for 200. This defines the element(s) to which a set of CSS rules apply.

  544. Kevin Ball

    What is a selector?

  545. Emma Bostian

    That is correct! Finally, selector is in the answer! \[laughter\] That brings you up to 7,000. Alright, go for it, Jake.

  546. Jake Dohm

    Okay, I'll take JS Frameworks for 200.

  547. Emma Bostian

    I somehow knew you were going there. I hope you get this one right... This library was developed by Facebook in 2013, and is still the most popular JavaScript library.

  548. Jake Dohm

    What is React?

  549. Emma Bostian

    That is absolutely correct.

  550. Kevin Ball

    Popular by what dimension? I think jQuery is still on more websites.

  551. Jake Dohm

    \[laughs\] Ooh...

  552. Emma Bostian

    Oh, we're not doing this right now... \[laughter\]

  553. Kevin Ball

    No, it is the most popular among current developers. It's just the law of legacy...

  554. Emma Bostian

    Yeah, I don't mean popular in terms of usage necessarily, I mean in terms of likability.

  555. Kevin Ball

    Oh, likability... Now, there - I don't know if React is gonna win on that, but... Usefulness, or usability...

  556. Emma Bostian

    Well...

  557. Kevin Ball

    ...being used... I don't know. I've been having to use React recently, and I'm telling you, it's making Vue look better every day.

  558. Emma Bostian

    Yeah, it is. Kball, we've got two categories left. Do you want JavaScript again, or Even More JavaScript?

  559. Kevin Ball

    Well, let's go with Even More JavaScript then.

  560. Emma Bostian

    \[laughs\] Let's do it... Okay, your last question - this method tells the user agent that if the event is not explicitly handled, its default action should not be taken as normally would be.

  561. Kevin Ball

    What is prevent default?

  562. Emma Bostian

    \[51:59\] That is correct, prevent default. I don't know if it's default or default. I never know how to pronounce it... Alright. Okay, Jake, take it home - JavaScript again, for 200. This is the very last question before we get to the super-final round, which is literally just one question. Okay, JavaScript again for 200.

  563. Jake Dohm

    Alright.

  564. Emma Bostian

    This data type holds key-value pairs and remembers the original insertion order of the keys.

  565. Jake Dohm

    What is an object?

  566. Emma Bostian

    No. Kball, you look like you know it.

  567. Kevin Ball

    I wanna go with "What is a map?"

  568. Emma Bostian

    That is correct.

  569. Jake Dohm

    Oh, a map... There you go.

  570. Emma Bostian

    That is correct.

  571. Kevin Ball

    It's that insertion order thing.

  572. Jake Dohm

    I was like... it can't be set again. Yeah, yeah... That's a good steal.

  573. Emma Bostian

    Alright, so here's where we're at - Jake, you've got 8,100 points. Kball, you have 7,400 points. There's one final question, and I'm gonna need you to each write in the chat, the public JS Party chat right now, how many points you're wagering on this answer. You can wager nothing, and just take it and run, or you could bet it all, and who knows - Kball, you might come out on top. So write in your chat, final Jeopardy, how many points you are staking on this answer.

  574. Kevin Ball

    Do we write it before we know the question.

  575. Emma Bostian

    Yeah...

  576. Jake Dohm

    Is this supposed to go on the Slack chat?

  577. Emma Bostian

    Yeah, it is. Are you not in it? I'll post yours for you, Jake. Just tell me how much you wanna bet.

  578. Jake Dohm

    Sweet, okay. Let's see... Should I just go for it all? That's a hard one.

  579. Emma Bostian

    You can, but it would ensure that you win. Kball, do you know how much you're gonna bet? Are you going all or nothing?

  580. Kevin Ball

    Do we have to let the other person know? \[laughter\]

  581. Emma Bostian

    Well, otherwise you're gonna change your answers. \[laughs\]

  582. Kevin Ball

    Yeah, let's each Slack them to Emma.

  583. Emma Bostian

    Alright, you each Slack me your answers, and then...

  584. Jake Dohm

    Alright, I'm sending it to you in the Zoom chat privately here.

  585. Emma Bostian

    Perfect. Perfect. And then I have to do more math additions, which is really not my strong suit.

  586. Kevin Ball

    Let's just go for it.

  587. Jake Dohm

    Do we both get a shot at this last question, or is it like whoever gets it first?

  588. Emma Bostian

    Yeah, you do. You both get a shot. I don't know how to make this objective, to where you both... One of you I think has to say it first.

  589. Kevin Ball

    We've gotta write it to you, so that we can't change it, and then we each read our answer?

  590. Emma Bostian

    Okay, yeah. Alright. So Kball, you send me your answer in Slack; Jake, you send your answer to me in the Zoom chat. Here's the final question - this is the year that JavaScript was created.

  591. Jake Dohm

    Unbelievable. This is hard.

  592. Kevin Ball

    Oh, shoot.

  593. Jake Dohm

    Is it gonna be whoever gets closest here?

  594. Emma Bostian

    No, absolutely not. \[laughter\] Jake, you can't bet way more than you have. \[laughter\]

  595. Jake Dohm

    I'll bet the whole of them. I'm betting all of them.

  596. Emma Bostian

    \[55:07\] Alright. Welcome to the game where the rules don't matter. That's a different game.

  597. Jake Dohm

    \[laughs\]

  598. Emma Bostian

    Alright, I need your answers, please. What year was JavaScript invented?

  599. Kevin Ball

    Alright, we'll try that.

  600. Emma Bostian

    Okay. Give me two seconds to tally it up. Someone sing something...

  601. Jake Dohm

    \[laughter\]

  602. Kevin Ball

    \[whistling\]

  603. Jake Dohm

    Not bad.

  604. Emma Bostian

    Alright, here's where we landed. The question was "This is the year JavaScript was created." The answer was 1995. Which means Kball has won...

  605. Jake Dohm

    No...

  606. Emma Bostian

    He came in at 14,799 points. Jake bet 100,000, which was not allowed, and ended up with -91,900 points. \[laughter\]

  607. Jake Dohm

    Unbelievable.

  608. Emma Bostian

    So with that, that is a wrap. Kball has won JS Jeopardy, and I don't have a prize for you other than...

  609. Kevin Ball

    Bragging rights?

  610. Emma Bostian

    Yeah, that's about it.

  611. Jake Dohm

    Congrats, Kball. You had a really great run there.

  612. Kevin Ball

    \[laughs\] I can't believe I got that right, 1995.

  613. Jake Dohm

    I know. I did 1997. I was close(ish).

  614. Emma Bostian

    I was two years old.

  615. Kevin Ball

    I was just -- oh, that makes me feel old. I was trying to remember... Because it was Netscape, right? Netscape Navigator...

  616. Emma Bostian

    Yeah.

  617. Kevin Ball

    And I was trying to remember when I first got a browser, and things like that, but...

  618. Jake Dohm

    Wow.

  619. Emma Bostian

    In any case... As a last closing note, to Kball's point, if you're an interviewer, please don't ask these questions. But if you're interviewing, these are all really great concepts for you to know... And try to love. \[laughter\] With that, thank you again, Jake, for coming on. It was an absolute pleasure. I'm looking forward to seeing you in Amsterdam, at Vue.js Amsterdam. I don't know, is JS Party showing up there at all? I don't believe so...

  620. Kevin Ball

    I don't know, but if not, maybe you should reach out to them and see... If you're gonna be there, Emma, reach out and say "Hey, can I host a show?"

  621. Emma Bostian

    Yeah, absolutely. I'll get back to you on that. That sounds like fun.

  622. Kevin Ball

    And if they wanna fly somebody else in - I mean, hey...

  623. Emma Bostian

    That's true.

  624. Jake Dohm

    We know a guy.

  625. Emma Bostian

    Awesome. Well, I hope that everyone listening has a great day and is not terrified of me or of technical questions... And with that, I hope everyone has a great Thursday.

  626. Kevin Ball

    Thanks, Emma. Thanks, Jake. Thanks, Chris.

  627. Jake Dohm

    See ya!