Javascript classes are a type of function that are declared using the Class keyword. Classes can have instances, which is the ability to create copies of itself and each class can contain unique properties, often set when the instance is created. Though we can use the new function to create many objects, class gives great features which are useful for object-oriented programming.

The basic syntax of a class is:

class ExampleClass {
constructor () { }
method() { }
another method() { }

The constructor is where unique properties would be defined for the class and be created…

In this blog, we will be looking at how to implement a carousel slider in React. I recreated a website for a tech start-up that provides its products for many enterprise businesses and proudly displays those brand logos on its website. When recreating the site, I decided to display the brands on a carousel, that is, it’s automatic, infinite, and allows for manual swiping.

I used a library, called React Slick, to achieve the carousel slider. We need to first install the library by typing the below into our command line:

npm install react-slick --save


yarn add react-slick


My final project at Flatiron involved working with React and Redux on the front end. At first glance, Redux seemed to be confusing but I got to grips with it quite quick and what a great tool it is!

When building a large React application, state can become more spread out between various components. We will soon start to see a web of props and state that becomes harder to see how components are handling and sharing data with each other.

One thing we can do is store our state in a high-level container component or parent component but this…

Source: Wildheart Media

In this blog, I will be breaking down how we identify which category an algorithm is placed, under Big O Notation. If you aren’t familiar with the Big O then you can read one of my previous blogs here, that explains each category of Big O.

We know that Big O Notation refers to the time complexity of an algorithm, or in other words, how many steps an algorithm takes if there are N number of elements. However, there are a few things we must know about Big O, to determine which category an algorithm is placed in.


In your coding journey, you will come across the term — Greedy Algorithms. Sounds strange right? In this blog, we will be diving into what they are and where you will find yourself using them.

Firstly, we will define this term and break it down further to get a better understanding.

Simply put, a greedy algorithm is an uncomplicated, intuitive algorithm that is used when dealing with optimisation problems. The algorithm makes the optimal choice at every step step as it attempts to find the overall ideal way to solve the entire problem.

Now, the reason the term greedy is…

Source: Pixabay

If you’re haven’t come across the Big O during your programming journey, you surely will at some point. When I first stumbled upon it, I was completely dumbfounded! However, reading more into it and working with examples, it was a major face palm moment. In this blog, I’ll be discussing Big O Notation and looking at a few basic aspects that can help you dive deeper into more advanced areas of it.

Computer scientists borrowed this term from the world of mathematics to describe a concise language around the efficiency of algorithms and data structures. …

During my time at Flatiron, we came across OmniAuth, a gem that allows users to sign into an application via a third party such as Google, Twitter, Facebook etc. In this blog, I will be exploring OAuth and how to set it up for your project using Facebook.

OmniAuth is a Ruby on Rails gem that allows us to use an array of authentication providers (examples stated above). Instead of signing in with a username and password, OAuth connects you to your already existing account with an external provider and signs you in through this method.

We will be exploring…

What is SQL? SQL (Structured Query Language) is a programming language that allows us to manage relational databases. A relational database is a type of database that stores and provides access to data points that are related to one another. With SQL we can store information and access or manipulate it.

As already mentioned, relational databases holds and allows one to access information that expresses a relation between one database to another. They organise information into tables which have columns and rows, each column and row holding a value in which we can access or manipulate.

Every table would have…

My first interaction with C has been through the Harvard CS50 course and I have already written a blog about my journey with C and the similarities/differences I have found with JavaScript. You can read it here!

In this blog, I want to talk about ‘the good’ and ‘the bad’ of C and will leave you to decide what aspects of the programme are ‘the ugly’.

What is Ruby on Rails Used for: Tips from Back-End Developers

My software engineering course at Flatiron involved working a lot with Ruby on Rails, creating full stack applications and APIs. In this blog, I want to talk about ‘the good’ and ‘the bad’ of Ruby on Rails and will leave you to decide what aspects of the programme are ‘the ugly’.

Milan Parmar

Software Engineer 👨🏽‍💻 | Full Stack Web Development 💻 | Smartphone Tech Enthusiast📱

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