课程: JavaScript Essential Training
今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Get to know the browser console
- [Instructor] The browser console is the JavaScript developers' best friend, alongside the code editor and linting tools and automation tools. And, okay, so the JavaScript developer has a lot of best friends, and the browser console is one of them. When you write JavaScript, you work in a code editor. The problem is, the JavaScript doesn't run in the code editor, it runs in the browser. So you need some way of interacting with the JavaScript directly inside the browser. And that's what the console is for. Just like when you work with HTML and CSS, you can open the developer tools and mess with the HTML or change the CSS in some way, and see what happens right away in the browser. Console is the exact same thing, but for Java script. Let me show you how it works. Go to VSCode and go to the exercise files for this movie, 01_05. And you'll see, there's a file here called scriptjs that has some JavaScript in it. We're…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。