Development

How To Mock Services Using Mountebank and Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Mock Services Using Mountebank and Node.js

A service mock is code that simulates a service that is not yet available in order to test an application. In this guide, you will build two flexible service-mocking applications using Node.js and Mountebank. After this tutorial, you’ll be able to mock all kinds of service behavior so you can more easily develop and test your applications.

Read more
How To Write Switch Statements in Go — step-by-step Programming tutorial on Progressive Robot

How To Write Switch Statements in Go

switch is an alternative conditional statement useful for communicating actions taken by your Go programs when presented with different options. Everything we can write with the switch statement can also be written with if statements. We’ll look at a few examples of what the switch statement can do, the if statements it replaces, and where it’s most appropriately applied.

Read more
How To Define Functions in JavaScript — step-by-step Javascript tutorial on Progressive Robot

How To Define Functions in JavaScript

A function is a block of code that performs an action or returns a value. Functions are custom code defined by programmers that are reusable, and can therefore make your programs more modular and efficient. In this tutorial, we will learn several ways to define a…

Read more
How To Create Reusable Blocks of Code with Vue Single-File Components — step-by-step Javascript tutorial on Progressive Robot

How To Create Reusable Blocks of Code with Vue Single-File Components

When creating a web application using Vue.js, it’s a best practice to construct your application in small, modular blocks of code. You can gain this modularity with Single-File Components. In this tutorial, you are going to create a SFC and use props to pass data down and slots to inject content between tags. By the end of this tutorial, you will have a general understanding of what SFCs are and how to approach code re-usability.

Read more
How To Use Common Units in CSS — step-by-step DevOps tutorial on Progressive Robot

How To Use Common Units in CSS

There are a lot of size units to choose from when styling HTML with CSS. These units help determine how big or small text appears, how wide a container is, or how much space is between columns. In this tutorial you will learn about the the pixel (px), percent (%), em, and rem units. You will use these units in conjunction with several properties, including font-size, padding, border, margin, width, and max-width to learn the differences and strengths of each unit.

Read more
CHAT