Web Studio Quick Start

Web Studio ⎋ is Codecraft Works’ online code editor for building web projects with HTML, CSS, and JavaScript. You write code on one side of the screen and see your page come to life on the other, right in your browser, with nothing to install.

Moving from app.codecraftworks.com/web? Web Studio replaces the web editor on app.codecraftworks.com. Your existing web projects are already in Web Studio. Sign in with the same account and you will find them under "Your projects." See How to Sign In to Web Studio for details.

Signing In

Go to studio.codecraftworks.com ⎋ and select Sign in in the upper right corner. You can browse community projects without signing in, but you need to sign in to create, save, or clone a project. Read How to Sign In to Web Studio for all of the sign-in options.

The Web Studio home page is the gallery. From here you can:

The Web Studio gallery, with the heading "Build something for the web," a blue "New web project" button, a "Your projects" section with one project card, and a "Community projects" section below it.

The Editor

When you open a project, you will see the project toolbar at the top, the code editor on the left, and a live preview of your page on the right.

The Web Studio editor. The toolbar shows the Gallery link, the project name, Readme, Code, Preview, and Settings toggles, and the Save, Clone, Media, Cloud variable, and Share buttons. The HTML, CSS, and JS panes are stacked on the left and the live preview is on the right.

Code

The code editor has three panes, one each for HTML, CSS, and JS (JavaScript). Drag the bar between panes to resize them. Use the Side by side / Stacked button at the top of the code editor to switch how the panes are arranged.

Live Preview

The preview updates as you type, so there is no Run button. If your JavaScript gets stuck in a loop that runs too long, Web Studio pauses it and shows a message. Fix the loop, then select Resume JS in the JS pane.

Console

Under the preview is the Console. It starts closed; click the Console bar to open it. Anything your project logs with console.log() shows up here, along with any errors. You can also type a JavaScript expression in the “Run an expression…” box and press Enter to run it against your page. If your project has errors while the console is closed, a red error count appears on the bar.

Saving

Web Studio does not save automatically. Select Save in the toolbar, or press Ctrl+S (Windows/Chromebook) or Command+S (Mac). When you see “Unsaved changes” next to the project name, you have work that hasn’t been saved yet. If you try to leave the page with unsaved changes, your browser will ask you to confirm.

The Toolbar

The toggles on the left of the toolbar show and hide parts of the screen:

The buttons on the right of the toolbar let you work with the project:

On a small screen, like a phone, Web Studio shows one part of the screen at a time. Use the toggles to switch between them.

For a full description of every button and setting, read Web Studio Editor Reference.

Keyboard Shortcuts

ShortcutWhat it does
Ctrl+S / Command+SSave the project
Ctrl+1Jump to the HTML pane
Ctrl+2Jump to the CSS pane
Ctrl+3Jump to the JS pane
Ctrl+F / Command+FSearch in the current pane
EscapeClose a pop-up, or move from the code back to the toolbar