6 lessons

Coding the Web - The Basics

In this course we will discuss the basics of the technologies that power the modern web. We will cover the basics of HTML and Typescript.

Lesson 3


In this lesson we will learn the basics of Typescript, a language that compiles to javascript, which runs natively on every web browser in the world.


A comment is used to tell the computer that some text is a note for the developer and the code should not be executed.



A boolean can be true or false.


A number can be any number.


A string is a collection of characters.


An array is a special data type that can store multiple values of different data types.


An object is a bunch of primitive values put together to make a new data type.


A function allows the programmer to abstract some code and run it somewhere else.



In typescript, you can declare a new variable using const or let.

const vs let


Below are some of the most commonly used built-in operators.



A function consists of two main parts, the function parameters, and the function body.

function parts

After the programmer writes the code they want in the function body. They can specify what should be returned from the function using the return keyword.

Return statement
function parameters

Call a function

To call a function you can use the function name followed by () .

calling a function

Get the results of a function

get function result

String Interpolation

Because engineers work with strings of characters a lot, typescript makes it easy to compose them together with string interpolation.

string interpolation


  1. number (numeric value)

  2. string (a collection of characters)

  3. array (many values)

  4. boolean (true of false)

  5. any (any type)

In typescript, many types will be inferred by the system. Meaning you don't have to explicitly write them out. You can create your own types using the interface keyword.

custom type

Looking forward to meeting you.

Email us now at

433 Broadway Suite 404, New York, NY 10012

© 2023 Raidon Inc. LLC. - Build The Future, All Rights Reserved.