From the course: JavaScript: Prototypes
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Using CoderPad challenges - JavaScript Tutorial
From the course: JavaScript: Prototypes
Using CoderPad challenges
- [Instructor] This course on JavaScript prototypes include some code challenges that use the CoderPad environment. Let's take a quick look at that workspace. In the top left, you have instructions. Here, those are mostly hidden. At the bottom left, you have console output, and that's going to be the result when you actually try out an answer. At the top right, you have the code that you're starting with, and the code that you work with during your challenge. And at the bottom right, there's some test code, and this is what's going to run against the code that you write in the answer section. Also, notice that the answer section includes a couple constants, showExpectedResult and showHints. You can change the value of either or both of these to true if you want to see results or if you want to see hints. So let's try this out. I'm going to start by just entering return numbers. And obviously, false answer. That's not going to work. And I'm going to go down and click Test my code. And…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.