Skip to content

Tutorials

  • AI
  • Cryptocurrency
  • CSS
  • Excel
  • HTML
  • Javascript
  • Node.js
  • Others
  • SCSS
  • Web Development

Pages

  • Home
  • All Tutorials
  • About
  • Privacy Policy

Red Stapler

Coding Tutorials and Development Tips

  • Home
  • Tutorials
  • About

All Tutorials

difference-between-strings
Javascript

Find Diff between 2 Strings with JavaScript

December 28, 2020 Red Stapler 0

Levenshtein Algorithm is a well-known method to find differences between 2 arbitrary strings. However, if the given strings have equal length, the process is very much simpler by comparing characters on the same position and….

Read more
css-3d-cube
CSS

Creating 3D Cube with Pure CSS

December 28, 2020 Red Stapler 0

3D cube effect can be achieved easily with CSS 3D Transform by creating div for each side of the cube. Then use rotateX, rotateY and rotateZ to put them into their places. Transform-origin is also….

Read more
css-glass-blur-effect
CSS

How to Create Glass Blur Effect with CSS

December 28, 2020 Red Stapler 1

CSS Glass blur effect is very popular on web page that want the div to be transparent and see through background or create a glass cover on another element. The snippet below uses masking trick,….

Read more
javascript add animation property
CSS Javascript

How to Add CSS Animation with JavaScript

December 28, 2020 Red Stapler 0

A JavaScript snippet to dynamically add shorthand CSS animation property to any element. Useful method to insert an animation on a certain scenario. The syntax used in JavaScript code is similar with one in CSS…..

Read more
javascript button state
CSS

Toggle Active Button State with JavaScript

December 28, 2020 Red Stapler 0

JavaScript code snippet to add “active” class to any button or div to toggle an active state. Useful for changing styles and appearance of clicked button. The snippet below will add click event listener to….

Read more
javascript-weighted-random
Javascript

Perform Weighted Random with JavaScript

December 28, 2020 Red Stapler 0

Weighted random is a non-uniform random method that each values has specific probability to be picked. The values with higher weight are more likely to be the random result while lower weighted one are less….

Read more
javascript-deep-clone-object
Javascript

How to Deep Clone JavaScript Object

December 28, 2020 Red Stapler 0

Deep Cloning JavaScript object can be very simple or difficult depend on how complicate your object structure is. For an object with basic data types, a one liner code is all you need. But if….

Read more
javascript-random-number-range
Javascript

Random Number between Range in JavaScript

December 28, 2020 Red Stapler 0

Math.random() is a function that returns a pseudo-random floating numbers between 0 and 1 (0 is inclusive, 1 is exclusive) We usually multiply the result with other numbers to scale the randomized value. However, there….

Read more
chernobyl-az-5-button-css
CSS Javascript Web Development

Recreate Chernobyl AZ-5 Button with CSS/HTML

December 28, 2020 Red Stapler 1

In this tutorial, we’re going to recreate the famous Chernobyl AZ-5 button with CSS and a little bit of JavaScript. Let’s check it out! The AZ-5 Button Here is the button in the movie. I….

Read more
fix-wordpress-404-google-cloud-2
Others Web Development

Fix WordPress 404 Permalinks on Google Cloud Platform

December 28, 2020 Red Stapler 1

If this is the first time you start hosting your WordPress site on Google Cloud Platform, changing permalinks structure will cause all your posts to be 404 not found. This because you need to allow….

Read more
chernobyl-rbmk-core-css
CSS HTML

Chernobyl Jumping Control Rods HTML and CSS Tutorial

December 28, 2020 Red Stapler 0

The jumping reactor control rods of is one of the most impressive yet terrifying scene in Chernobyl. In this tutorial, we’re going to recreated an animated 3D mini RBMK nuclear reactor core using only HTML….

Read more
three-js-post-processing
Javascript Web Development

Logo with GodRays Effect | Three.js Postprocessing Tutorial

December 28, 2020 Red Stapler 3

In this tutorial, we’re going to show to how to create a batman logo with god rays background using JavaScript and Three.js in just a few minutes. Let’s check it out! Importing 3D Model In….

Read more

Posts pagination

«Previous Posts 1 … 8 9 10 11 12 … 19 Next Posts»
©2026 Red Stapler. All rights reserved.
  • Facebook
  • Twitter
  • Youtube