![]() ![]() Without such an IDE - whether its Eclipse, IntellJ IDEA or Visual Studio Code - its really hard to get. Now, you have a live scratchpad for JavaScript right in your text editor. The IDE helps you in generating code or cleaning it up. Then we can simply write the name of that object, and see it printed in line, and also to the right, in the Quokka output. We'll create a new object called newPerson with a property name, and a second property, fave language, set to JavaScript, of course. ![]() You can also look at things like objects and their properties. You'll see to the right, our log printed out. It's going to console log "Hello, name from the world of Quokka." Then I can call that function. I'm going to write a function, sayHello, which takes one parameter, a name. This tells us that it's running Untitled-1, our new JavaScript file using that version of Node printed to the right. Then we're going to search for "Quokka New JavaScript File." This will open a new JavaScript file, and on the right, it should open up Quokka in the output menu. Or you can access the Command Palette by using the keyboard shortcut, Command-Shift-P. C, C/C++, Java, JavaScript, Visual Basic, SQL, and Batch/Command files. Then you'll click Install, and you can close the sidebar, close the extension, and then you're going to go to View, Command Palette. ScratchPad is a general-purpose syntax-highlighting text editor that supports. Instructor: Inside of VS code, go to the Extensions tab on the left, and then search for Quokka. ![]()
0 Comments
Leave a Reply. |