From 7b0b582bddcb26dc80f4ba95b843980e6ead70c6 Mon Sep 17 00:00:00 2001 From: HDking Date: Wed, 18 Mar 2015 10:07:28 +0100 Subject: [PATCH] Update Beginners guide.md Based on the feedback received I've updated the beginners guide. --- Beginners-Tutorial/Beginners guide.md | 110 ++++++++++++++++++-------- 1 file changed, 75 insertions(+), 35 deletions(-) diff --git a/Beginners-Tutorial/Beginners guide.md b/Beginners-Tutorial/Beginners guide.md index 760cbc6..c82cfa3 100644 --- a/Beginners-Tutorial/Beginners guide.md +++ b/Beginners-Tutorial/Beginners guide.md @@ -11,20 +11,28 @@ # Beginners Guide! -Welcome to the Semantic-UI beginners guide. If you have little experience with web-design and Semantic-Ui, this is the perfect place to start. This tutorial will guide you from the download to the implementation of the Semantic-UI elements, with a running example of re-creating the Airbnb landing page. +Welcome to the Semantic-UI beginners guide! If you have little experience with web-design and Semantic-Ui, this is the +perfect place to start. This tutorial will guide you from the download to the implementation of the Semantic-UI elements, +with a running example of re-creating the Airbnb landing page. -This tutorial only uses the elements that can be found readily on the semantic-ui.com website, without any adjustments in the classes. +This tutorial only uses the elements that can be found readily on the semantic-ui.com website, without any adjustments in +the classes. ###1. Download Semantic-UI -To use Semantic you first need to download the folder that contains all the files you need to make use of Semantic-UI library. +To use Semantic you first need to download the folder that contains all the files you need to make use of Semantic-UI +library. 1. Go to semantic-ui.com to [download](https://github.com/Semantic-Org/Semantic-UI/archive/1.10.4.zip) Semantic-UI. 2. Unpack the file and place the files in a folder of your choice 3. After this is done you should have a folder called Semantic-UI-1.X (X stands for the version) ###2. Download & Install a text editor -To start writing code you need a code editor. A cide editor is a software application that features tools and functionalities (i.e. auto complete) that makes writing code much clearer and easier. Most code editors also provide features to help you with managing files and directories of your project. Some text editors you need to buy, however there are great ones for free. It does not really matter which one you use, but here are a couple of code editors which are free to use: +To start writing code you need a code editor. A cide editor is a software application that features tools and +functionalities (i.e. auto complete) that makes writing code much clearer and easier. Most code editors also provide +features to help you with managing files and directories of your project. Some text editors you need to buy, however there +are great ones for free. It does not really matter which one you use, but here are a couple of code editors which are free +to use: * [Brackets](http://brackets.io/) * [Sublime Text](http://www.sublimetext.com/) @@ -33,7 +41,8 @@ To start writing code you need a code editor. A cide editor is a software applic ###3. Starting a new project with Semantic UI -Now it’s time to get to the action. You are about to make your first html page to do that we first need to setup a new project. +Now it’s time to get to the action! You are about to make your first html page to do that we first need to setup a new +project. Step 1. Start your code editor. @@ -41,11 +50,13 @@ Step 2. File>Open Folder Step 3. Open the ‘dist’ folder inside the Semantic-UI.1.X folder you just downloaded. -After you open the ‘dist’ folder in Brackets you will see the following files in the map directory on the left of the editor screen: +After you open the ‘dist’ folder in Brackets you will see the following files in the map directory on the left of the +editor screen: ![image](screencaps/directory-map.png) -These files are mandatory to make use of the Semantic UI library. To create a new project that uses the Semantic UI library you have to place your files inside the ‘dist’ folder. +These files are mandatory to make use of the Semantic UI library. To create a new project that uses the Semantic UI library +you have to place your files inside the ‘dist’ folder. Step 4. File>New @@ -57,7 +68,8 @@ You will see the created home.html file added to the 'dist' map. ![image](screencaps/home-added.png) -In home.html we need to include the semantic.css and semantic.js files in the header to make use of the Semantic UI library. Next to that you need to add a jQuery version link. +In home.html we need to include the semantic.css and semantic.js files in the header to make use of the Semantic UI +library. Next to that you need to add a jQuery version link. Without these links, Semantic-UI will not work! Step 6. In the home.html file put the following code: @@ -81,10 +93,11 @@ Step 6. In the home.html file put the following code: ![image](screencaps/include-files.png) - # **GREAT.. now you have everything you need to get it going!** ## Lets get starting, and build your first Semantic-UI webpage! -Now you are ready to use Semantic UI. In the next step we will guide you how to build your first landing page using the Semantic UI library.We will introduce you to the power and sheer simplicty of Semantic-UI by re-creating the **AirBnB** landing page from scratch. This is what you are going to make: +Now you are ready to use Semantic UI. In the next step we will guide you how to build your first landing page using the +Semantic UI library.We will introduce you to the power and sheer simplicty of Semantic-UI by re-creating the **AirBnB** +landing page from scratch. This is what you are going to make: ![image](screencaps/Semantic-ui-AirB.png) @@ -94,7 +107,9 @@ Now you are ready to use Semantic UI. In the next step we will guide you how to - [The Semantic-UI menu](http://semantic-ui.com):for an overview on all the elements, collections, views, modules, behaviors & more. This to give you a complete overview of the rich library that Semantic-UI has. The library lets you look into the source code as well. ###So where do we begin? - Layout! -Before we dive into the cool stuff of Semantic-UI we have to set up our page's layout. The AirBnB landing page consists of two main parts, the first is the large part where everything happens (lets call it AirBig) and a smaller section which shows a small part of the next page (AirSmall). (The last is a trick to show that there is more down there!). +Before we dive into the cool stuff of Semantic-UI we have to set up our page's layout. The AirBnB landing page consists of +two main parts, the first is the large part where everything happens (lets call it AirBig) and a smaller section which +shows a small part of the next page (AirSmall). (The last is a trick to show that there is more down there!). So to add the two main sections into your html add: @@ -184,7 +199,7 @@ You can add a background-color property to the classes and run it in the browser ![image](screencaps/header-footer-properties.png) -Now the general layout is complete! We now will move on to fill in the elements of the webpage in the header, center and footer. +Great! Now the general layout is complete! We now will move on to fill in the elements of the webpage in the header, center and footer. ### The header - logo, menu and a button @@ -216,9 +231,14 @@ And adjust the semantic.css file by adding the logo class and img class: ``` #### The menu + button -The right side of the header consists of the Sign Up, Log In, Help and a List Your Space button elements. In order to do so we have to create a unordered list `