Full-Stack Code Camp

Fresh snippet Monday 20 January 2020

Clear HTML forms with JavaScript

I have seen a good many of people try to clear each form input, after submission, one value at a time. Although this is a very short code example I think it's important to know that you can clear an entire form by selecting the id attached to the form tag.

snippet Tuesday 14 January 2020

ACID Compliant

Is your database ACID compliant? What does ACID mean anyway?

snippet Tuesday 14 January 2020

Big O

In computer science, big O notation is used to classify the complexity of a algorithm.

snippet Tuesday 14 January 2020

Create an array with values 0 to 100 using JavaScript

This JavaScript code will create an array that is 101 in length with values 0-100

snippet Tuesday 14 January 2020

Add a custom method to the JavaScript Array.prototype

Give JS super powers using the prototype object.

snippet Tuesday 14 January 2020

JavaScript Environment Variables (.env)

Why we need them and how to use them.