Skip to content
View JohnnyMcFadden's full-sized avatar

Organizations

@just-event

Block or report JohnnyMcFadden

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. The Joe Codes Blog - Sass Mixins Exa... The Joe Codes Blog - Sass Mixins Example
    1
    @mixin commonButtonProperties(
    2
      $padding: 0.75rem,
    3
      $margin: 0.5rem,
    4
      $min-width: 100px
    5
    ) {
  2. The Joe Codes Blog - Promises --> Ca... The Joe Codes Blog - Promises --> Callback Hell --> Promises Error Handling
    1
    const promiseAddOneRejected = (value) => {
    2
      return new Promise((resolve, reject) => {
    3
        setTimeout(() => {
    4
          if (value >= 100) {
    5
            reject('🤷 Number is too big!!');
  3. The Joe Codes Blog - Promises --> Cr... The Joe Codes Blog - Promises --> Creating a new promise
    1
    // "Producing code"... may be an asynchronous task that takes some length of time
    2
    const someValidator = (value) => {
    3
      return new Promise((resolve, reject) => {
    4
        setTimeout(() => {
    5
          if (typeof value !== 'string') {
  4. The Joe Codes Blog - Callback Hell The Joe Codes Blog - Callback Hell
    1
    const addOne = (value, callback) => {
    2
      setTimeout(callback(value + 1), 1000);
    3
    };
    4
    
                  
    5
    const multiplyByTwo = (value, callback) => {