Getting Started

This guide shows you how to build and run a simple sketch. The aim of this guide is to help you give an overview of the development workflow.
Estimated completion time : Less than 5 minutes.

Prerequisites

The official guide assumes intermediate level knowledge of HTML, CSS, and JavaScript.

Steps

Step 1: Installing the Quark IDE

You need to download and install the Quark IDE for your PC from here.

Step 2: Starting a new Project

  1. After installing Quark, open the IDE.
  2. You will be shown a welcome screen. Click on "Start a new Project"

Landing Page

  1. After entering the project name, click on 'Create' button.

Landing Page

  1. If the project was created successfully, you will be prompted to open the project. Click on "Open Project".

Landing Page

Step 3: Navigating through the IDE

  1. After opening the project your view may look something like this.

An image

  1. On the left hand side is the navigation pane. Use this pane to navigate around files and folders.
  2. Also there is a setup.js file, this file is used as the entry point of your code by the Quark build system while building your sketch.
  3. Double click on the file to open the editor. Your view should look something like this.

An image

Step 4: Writing your Code.

  1. Notice that our file already has one line of code, that prints a console message. We'll keep this tutorial to only one line of code.
  2. Let us change the console message to "Hello World, I'm Quark". Your code should now look like this.
console.log("Hello World, I'm Quark");

Step 5: Building the sketch

  1. To build the sketch, press the build button at the bottom right corner of the IDE.

Build

  1. To check the build logs, go to the Output section in Menu bar and select "Build: Focus". This will focus on the build logs output channel.

Build

  1. As visible in the output, our build was successful, now lets run the sketch.

Step 6: Running the sketch

  1. To run the sketch, press the run button at the bottom right corner (adjacent to the build button) of the IDE.
  2. This should run our sketch and a new window will pop open like so.

Build

  1. Notice the console message printed in the devtools output channel. This shows that our code ran properly.

The entire process could be summarized in the following video.

We create a new project, build the project, and run the project. All of which can be done within 15 seconds!!

Next Steps

Of course this is not all Quark has to offer, checkout the tutorials to learn mode advanced concepts.

Last Updated: 8/22/2019, 5:29:31 PM
MIT Licensed | Copyright © 2019-present Nishkal Kashyap