All Tutorials

From React, to Ruby on Rails, and then career - everything you need to become a Full Stack Hero is here.

Career

I asked my managers how to land a software development internship. Here's what they said.

My managers were founders of a small agency, where they have interviewed dozens of university students for internships and junior roles over the last few years.

Javascript

How to use Local Storage in Javascript + an example

Web developers can use Local Storage to store data across browser sessions without an expiration date. You can read, write and delete data.

6 mins

React

Implement an exit intent modal in React

Exit intent is a marketing strategy which increases conversion without being obstructive and annoying to customers. It displays a modal before the user leaves the page.

Rails

Add FAQ markup schema to your articles in Ruby on Rails

Learn how to add a FAQ model for your articles in your Ruby on Rails application and then create the markup schema that you can put within your head tag.

4 mins

Prismic

Add FAQ structured data to your articles using Prismic and GatsbyJS

FAQ schema can help your articles get featured in Google's FAQ section. Learn how to add FAQ structured data to your articles in your GatsbyJS application using Prismic fields.

3 mins

Prismic

How to configure code syntax highlighting with Prismic, Gatsby and PrismJS

Learn how to create a Prismic Slice to pass markdown to your Gatsby component which you can then highlight with PrismJS

4 mins

Stimulus

Debounce and throttle in Stimulus

Debounce and throttle give us control over the rate at which a function is called. But do you call them in your stimulus controllers?

3 mins

Rails

How to pass attr accessors in your JSON response

If your attr accessors are not being passed through your json response, here's how to fix it

1 mins

Javascript

Create a simple cookie policy popup

A tutorial teaching you how to create a cookie policy consent popup without using any libraries

1 mins

Rails

How to run a worker from the console

If you want to test your sidekiq worker from the console, you can call it using the following command.

1 mins

Rails

What are the Ruby on Rails column types?

Find out all the different column types that you can add in your Ruby on Rails app.

3 mins

Rails

Current attributes in Rails

Rails 5.2 adds support for CurrentAttributes which give you access to global variables in your application.

4 mins

Css

What to do if purgeCSS is purging code inside an ignore block

A simple answer as to why your purgeCSS code is still purging you CSS/Tailwind code even though it is still inside an ignore block

1 mins

Ruby

What are Getter and Setter methods in Ruby

If you want to either retrieve or set a value of an instance variable from a Ruby class, you need to learn about getters and setters. Learning about attr_accessor is also really useful to help you keep your class clean and tidy.

4 mins

Ruby

Intro to Ruby Classes

Classes are the basic building block in Object Oriented Programming (OOP). They define the blueprint for creating objects. In this lesson, we will learn everything that we need to start working with Ruby Classes.

6 mins

Rails

First vs take vs Limit methods in Rails

Learn about the differences between the methods first vs take vs limit

3 mins

Stimulus

How to create hours input with Input Mask and Stimulus

If you are building an hour input, you can use input mask and stimulus to create a nice UI for your user.

4 mins

Rails

Checklist for deploying your Rails app to production on Heroku

he things that you need to do before you deploy. This is my checklist that I follow when I deploy a new feature of my Rails app to production on Heroku.

3 mins

Rails

An easy way to connect your Rails server to your phone

Test your Rails application on your mobile phone or another laptop when they are connected to the same IP address

2 mins

Ruby

The safe navigation operator (&.) in Ruby

Ruby's safe operator is used when you don't want your app to throw an exception if a method is called on a nil object.

2 mins