Skip to content

luigicruz

HomeBlogSnippetsPlaylistsAbout

Snippets

A collection of short code solutions to challenging problems saved for future reference.

  • toTitleCase()

    Javascript, Snippet

    Converts a given string to title case.

    Read more
  • capitalizeEachWord()

    Javascript, Snippet

    Capitalizes the first letter of each word in JavaScript.

    Read more
  • getDaysBetweenDates()

    Javascript, Snippet

    Calculates the difference (in days) between two dates.

    Read more
  • range()

    Javascript, Snippet

    Create a range function in javascript.

    Read more

Not Playing

Probably sleeping.

  • Home
  • Blog
  • Snippets
  • Playlists
  • GitHub
  • Twitter
  • Facebook
  • Linkedin
  • Gear
  • Guidelines
  • RSS
  • Legal
  • GitHub
  • Twitter
  • Facebook
  • Linkedin

Copyright © 2025 - Luigi Cruz