Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (7k points)
Is there a way to write JavaScript code and run it in Google Chrome?

1 Answer

0 votes
by (13.1k points)

If you do not want to write a .js file in your system you can definitely do it in Chrome.

Open chrome and press F12.

This will open Developer tools on the right side of your screen.

Goto Sources->Snippets->New Snippet

After creating a new snippet you can write whatever javascript code you want.

You can press ctrl+Enter to run the code and right-click the mouse to save the code.

Want to be a Web Developer? Check out Full Stack developer course from Intellipaat.

Browse Categories

...