Coding Classes For Kids – How To Create My First Website? – Wrap Up

Coding Classes Wrap Up
This post is part 6 of 6 in the series Coding Classes For Kids
6 MIN READ

It is difficult to believe, but we managed to reach last step of our Basic Tutorial – How To Create My First Website – my first online coding course 🙂 This last post will wrap up everything that we have learned and prepare you for the continuation of this series. You can also check our page by click website. Let’s start our last lesson then!


Remember, if you have any questions during the course, feel free to ask me in the comment section below.

Online Coding Course – Basic Tutorial Review

First of all let’s remind ourselves of the classes during our online coding course. Do you remember the graph below from our first lesson?

Coding Classes Series Graph

How to create my first website?

In the first lesson we were taking about the basic rules and steps to create your first website. Let’s quickly go through the most important points.

First of all, we started with the explanation of how do websites work. When two laptops are connected to the Internet, they can send information to each other, can talk to each other and can see each other. Servers are special computers that are connected to the Internet directly, when our laptops are connected to the Internet by other systems (Internet Service Provider – ISP).

When you type a page address in the browser, the browser sends a message to the server where the page is located. The server sends the files of the page back to the browser and the browser translates the files (code) into a page view which you can see in the browser. All of it happens really quickly, like in a couple of seconds.

Coding Classes For Kids How The Website Works

In this lesson, we also prepared a mockup and design of our page. A mockup is a simple drawing which presents elements on the site. Design is the final look of the website.

We were also talking about the development process and going live step. Do you remember that you need a hosting (server for your page) and domain (address url for your page) to make it visible on the Internet? We also said that during this tutorial we will not focus on it.

Website File Structure

In the second lesson, we were learning about file structure. At this point you should have a main folder website, which includes two other folders img for all images and css for css files. Inside of the website folder, you should have index.html which is the starting point for the website and it includes HTML code. Inside the img folder you should have all your images such as logo.png and heading.png. Inside the css folder you should have the styles.css file which includes CSS code and takes responsibilities for the styling of the site.

Coding Classes For Kids File Structure

At this stage of the tutorial you should have the following files:

Coding Classes Final File Structure

Website Skeleton – HTML Basic Structure

At the third lesson, we were talking about HTML language and basic structure of the website.

HTML means HyperText Markup Language and it is a language which gives structure to our website. This language translates our code to a language which is understood by the browser. The browser will read the HTML and display the elements which we want to show.

We were also talking about HTML tags. HTML has special tags which have important meanings. Some elements have an opening tag and a closing tag, some tags are self-closing. Some tags can have attributes with a value assigned to it.

HTML Tags Structure Online Coding Course

At this lesson we were also talking about intending to make our code clean and tidy.

Coding Classes For Kids Formating

We also explained what containers mean and we added containers to our page as head, body, header, main and footer.

Coding Classes For Kids Containers

Website Content – HTML Tags

In the class about HTML tags, we added content to our page. That’s the HTML tags that we were talking about:

<html>Tells the browser that this is a HTML document
<head>Container for all the head elements, can include title, additional files and so on
<title>The title of the website shows in the browser tab and is used by search engines
<body>Contains all the contents of a HTML document, such as text, hyperlinks, images, tables, lists, etc.
<main>Specifies the main content of a page
<footer>Defines the end of the page, usually contains information about author or contact details
<header>Contains logo, welcoming message and navigation
<img>Adds images to the website
<h1><h2><h3><h4><h5><h6>Headings used to define the structure of the content
<section>Defines sections of the content
<div>Container used to split html tags into groups
<p>Adds paragraphs
<ul> Unordered list
<ol> Ordered list
<dl>A list item within a list
<dt>Title of list item within a description list
<dd>A list item within a description list
<a>Add links

We also checked how the site looks without styles:

Coding Classes Unstyled Desktop

Styles Introduction – CSS Selectors & Properties

In the last lesson, we were talking about CSS language. Cascading Style Sheets is the language that changes what HTML code looks like, it describes how HTML elements are displayed on the page. This code is stored in the CSS files, in our case it is styles.css.

We connected HTML with CSS by adding this to our <head> tag.

Online Coding Course Link Tag

We also explained what the CSS code looks like.

Online Coding Course CSS Code Graph

  • The selector identifies which parts of the content the rules should apply to. The rules that are inside the opening and closing curly brackets ‘{ }’ are applied to any items matching the selector
  • A property is an aspect of the presentation we would like to set
  • The value is how we would like the property to behave
  • A semicolon is included at the end of each property, value pair or to separate it from the next pair

We also mentioned about CSS formatting, where we should use indentation.

Online Coding Course CSS Formatting

Finally we went through selectors and properties of CSS code. Remember, that we covered only the basic part of CSS language. There is much more to learn.

At the end of the lesson we checked the final results of our work:

Online Coding Course Website Final Desktop

That’s all CSS selectors and CSS properties which we were talking about.

CSS selectors

Directly Pointing Elements
tagName {
   ...
}
Classes
.className {
   ...
}
Ids
#idName {
   ...
}
Descendant Elements
tagName tagName {
   ...
}
Multiple Selectors
tagName, tagName {
   ...
}

CSS properties

Text Properties
font-familySpecifies the font for an element
font-sizeSets the size of a font
font-weightSets how thick or thin characters in text should be displayed
text-alignSpecifies the horizontal alignment of text in an element
Colour Properties
colorspecifies the colour of text
background-colorSets the background colour of an element
Spacing Properties
paddingAn element’s padding is the space between its content and its border, padding creates extra space within an element
marginSets the margins for an element, margin creates extra space around an element
border Add border for an element
Width & HeightDefines the width/height of an element
Max-width & Max-height Defines the minimum width/height of an element

What next in our online coding course…?

Congratulations! You have created your first website and finished our online coding course. Well done! There is still so much to learn about CSS and HTML. Also there are topics like colours, unit measurements, responsive design, flexbox, BEM and so on. We will cover it in the future online coding course as a continuation for How to create my first website? – Basic Tutorial. See you soon!


To download packages of all our files – Coding Classes For Kids – Basic Tutorial click Website.

Coding Classes See You Soon

 


If you like the course, I would be more than happy if you could share it on Facebook, Twitter, Instagram or any other place. You can also send a link with the course to your friends and family. I hope more kids will learn about coding.

If you have any questions, feel free to leave a comment below.


Editor – Natasha Jay O’Neil, please contact Natasha directly for queries related to her services.

More In This Series

← Coding Classes For Kids – Styles Introduction – CSS Selectors & Properties – Basic Tutorial

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.