www 101

All you need to know about the internet

Have a Question?

If you have any question you can ask below or enter what you are looking for!

All posts in Code

What Is GenServer, and Why Should You Care?

In this article you will learn the basics of concurrency in Elixir and see how to spawn processes, send and receive messages, and create long-running processes. Also you will learn about GenServer, see how it can be used in your application, and discover some goodies it provides for you. As . . . Read more

React Crash Course for Beginners, Part 3

So far in this React series, we’ve created a working sample app as a starting point for our ‘Movie Mojo’ gallery app, and we’ve seen how using props allows us to customize the appearance of components by passing in data rather than hard coding it. In part three we’ll create . . . Read more

React Crash Course for Beginners, Part 4

In this final tutorial in our React series, we’ll create a new <AddMovie /> component for adding new movies manually via a custom form. This will bring development for the ‘Movie Mojo’ app to a close. The code for the final project is available to download via the link to the . . . Read more

Kotlin From Scratch: Packages and Basic Functions

Kotlin is a modern programming language that compiles to Java bytecode. It is free and open source, and promises to make coding for Android even more fun.  In the previous article, you learned about ranges and collections in Kotlin. In this tutorial, we’ll continue to learn the language by looking at . . . Read more

React Crash Course for Beginners, Part 2

In part one of this tutorial series, we used the create-react-app tool to create a working sample app as a starting point for our ‘Movie Mojo’ gallery app. In part two, we’ll get to grips with adding our first custom component to display individual movie cards. We’ll also see how using . . . Read more

React Crash Course for Beginners, Part 1

In this tutorial series we’ll dive right into using React as we build a fully working app to display a gallery of movies. Learning how to build an app from scratch is a great opportunity to practise using all the key features of React whilst levelling up your development skills. . . . Read more

Polymorphism With Protocols in Elixir

Polymorphism is an important concept in programming, and novice programmers usually learn about it during the first months of studying. Polymorphism basically means that you can apply a similar operation to entities of different types. For instance, the count/1 function can be applied both to a range and to a list: . . . Read more

Set Up a React Environment, Part 4

React has been known in the past for being difficult to get started creating apps, as you really had to understand how to configure build tools manually. This is even before you write a single line of React code. The create-react-app tool helps with this issue tremendously as it allows . . . Read more

Set Up a React Environment, Part 3

Throughout the rest of this tutorial series, we’ll focus on setting up React locally. The first of these approaches is similar to CodePen, where the React scripts were inserted dynamically into your HTML file, before being rendered in the output window. The only difference here is that we’ll be inserting the . . . Read more