Above I have created a class named Activity that is defined but nothing is in it yet. The first thing we need to do inside a class is to create a constructor function.

A constructor is a function that constructs an instance of a class which is called an object…

Switch statements are very similar to if-else and else-if statement. However a switch statement is what programmers use when there is a lot of data that they want to check for.

The switch statement is evaluated once. The value of the statement is compared with each value of the each…

According to MDN web docs the Fetch API provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses. It also provides a global fetch() method that provides an easy, logical way to fetch resources across the network.

.The fetch function is a…

The ternary or conditional operator is the only Javascript operator that takes three operands. This operator is a shortcut for the if statement. It tests the condition and returns one value or expression if it is true and another if it is false.

The example below shows there is a…

Functions are one of the fundamental building blocks in JavaScript. A function is a set of statements that preforms a task or calculates a value. A function in JavaScript is somewhat similar to a procedure. A procedure is a set of statements that performs a task or calculates a value.

What is API?

API stands for Application Program Interface. There are all kinds of API. API’s are everywhere from computers, smartphones and even refrigerators. Specifically we will be talking about web API’s. …

In any application you will find the following three fundamental parts:

  1. Data => Models
  2. In interface to view and modify data => Views
  3. Operations that are preformed on data => Controllers

MVC is short for models, views and controllers. MVC is a software design pattern/software pattern methodology. The main objective…

I recently started applying for positions in the software engineering field. I also just started a new Rails project. I figured it would be a great opportunity to review everything I learned once again.

I decided to create Notes 2.0. It is an application that allows a user to create…

Huda Yousif

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store