In this tutorial, we will create a basic gmail site.
We will use the new Code Builder extension to make our own pages and add them to our site.
First we need to make a simple website.
To make our site we will use a free version of Code Builder.
Create a new project, and select the Code Builder from the drop down menu.
We can also create a template if you want to make the site more custom.
Next, choose the “HTML” option.
Select the HTML file that we created and click the “Start” button.
Once the site is online, click the “+” button to add the site to our website.
If you want your site to use HTML 5, you will need to change the “Content Type” option to “HTML5”.
Next, click “Create New” to create our site using Code Builder and our template.
Once created, we can see the site on our website by going to the “site” menu.
Choose the HTML site, select the “Site” tab, and click “Add”.
Next we can create a demo page using Code for our site, by clicking on the “Create Demo” button in the “Test” menu, and then clicking “Create demo page”.
We can add our demo page to the site by clicking “Add Demo”.
Next to the demo page we will need a landing page, by selecting the “Home Page” menu item.
This menu item lets us add a landing form and link to the page from which we want to create the demo.
To add the demo, go to the form, select “Add”, and then click the Add button.
We need to give our demo a title, and to add it to the landing page we need an id field, by choosing the “Add Id” menu option, and by selecting “Create id”.
Now that we have the demo and the landing form, we should add some content to the home page, so we can link to it by selecting a link from the “Link to page” menu and clicking “Edit”.
We need the demo to have a title of “Gmail Demo” and the code to display it, so click on the “+New Title” button, and enter the title, the code and a link to your demo page.
We have now created a demo site, but we will want to add more pages to it later.
First, we need a sidebar to put our demos, and we will also add a button to the sidebar that will display the demo on the right.
To do this, we use the “New Sub-Panel” menu action.
To select the new panel, select it from the menu bar, and check the “Show new panel” checkbox.
Then we can add a new page, and add the code that will run the demo code to the right of the demo form.
To run the code, click on “Add Code”.
To add a page to your site, choose “New Page” and click on it.
We now have a new site with a demo and a landing, but to display the code we need two more pages.
To put a page on the left, select a page from the sidebar, and go to “New Panel”.
We will now have two new pages, one for our demo, and one for the code.
To display the demos, we are going to create two new files, one on the demo site and one on our landing page.
To create the files, select both files, and choose the first file from the File menu, then click “Open”.
Then, we add a code to our page.
Click on the Code option in the Code Menu, and set the “Run” button for the demo file.
Now we need the code for our page to run.
Choose “Add code” and select a file that you want the code in.
In this example, we have added the code from the demo section to the main page.
Select “Run code” for the landing section, and “Add text” for our code.
Once both files are added, click Finish to save the project.
Now that you have a site that looks like this, you can start testing it.
Next time we will go to some more examples of code, we’ll look at how to use the Code Toolbox.