How to edit and run code in Chrome?

Asim Hussain
A free video tutorial from Asim Hussain
Conference speaker, published author & passionate teacher
4.5 instructor rating • 5 courses • 42,082 students

Learn more from the full course

Advanced Javascript

In only seven hours you will learn enough javascript to transform from a Junior JS Dev into a Senior JS Guru

06:41:56 of on-demand video • Updated February 2020

  • Impress interviewers with knowledge about advanced JavaScript features
  • Confidently Interview other JavaScript candidates
  • Pass stage one JavaScript telephone interviews
  • Prepare for working on complex frontend frameworks like React, Vue, Svelte or Angular.
English The tool to use dzong the course to write code in and execute code in is actually just Chrome is actually the chrome developer tools. So if you wanted to do the same. Just open up chrome and then you can get to the developer tools by just right clicking and going to inspect. And then this opens the developer console. If you go to sources this is the main page which we use within the course now you can hide and show the debug toolbar. Pressing escape hides and shows the console at the bottom and then also you can hide or show the navigator on the left hand side. There's a couple of ways of writing javascript code from within this editor. If you look at a navigator on the left hand side you can go to snippets right click new Give it a name maned or J S is a good one. And then you can just start writing code in the main section in the middle or how you actually execute it. Well there's two ways one you can just select the text and the command then enter and then you can see now it's printed out the content which I selected or just press the triangle button to run the snippet . So that's how we use the crime developer tools on the course is a pretty good tool. It's not necessarily the tool I would use to write my javascript in day in day out but just are playing around with short snippets of javascript. The chrome developer tools is actually pretty awesome.