Hit enter to search or ESC to close
Dean Ha
  • About
  • Portfolio
  • Photography
  • Blog
  • Contact

Crafting Code & Visuals

Tutourial & Tips

How to remove all white spaces from a string

var copyText = document.getElementById("reg"); copyText.value.replace(/ /g,'')  
Dean Ha
Dean Ha19th August 2021
Tutourial & Tips

Check if jQuery is installed

if (typeof jQuery == "undefined") { alert("jQuery is not installed"); (function () { var script…
Dean Ha
Dean Ha28th May 2021
BlogTutourial & Tips

Basic JavaScript MutationObserver API

We can use the MutationObserver to listen to changes made to a target node. With…
Dean Ha
Dean Ha23rd June 2020
BlogResources

Great Web Technologies and Libraries to Try Out

Some really nice tools out there, that we as a developer, should try. It would…
Dean Ha
Dean Ha9th May 2019
Tutourial & Tips

Find all string within square brackets [string] – Regex

Regex Pattern: var regex = '/\/g';   Link: https://www.regextester.com/97589
dha
dha20th December 2018
Tutourial & Tips

JS – find currentClosetTo()

Scenario: For every minute that passes, we want to find the closest(current minute for example…
dha
dha27th August 2018
How toTutourial & Tips

You don’t need jQuery for Selctors

If you want to use the jQuery style to select elements you can add the…
dha
dha30th October 2017
How toTutourial & Tips

How to hide anchor tag from URL using jQuery

A useful script that will prevent the anchor tag showing on the URL when jumping…
Dean Ha
Dean Ha21st March 2016
W.I.P

Easy Car Check – Progressive Web App

Easy Car Check A responsive web app made for mobile devices. This is an additional…
Dean Ha
Dean Ha10th January 2016

Categories

  • #100DaysOfCode
  • Blog
  • How to
  • Inspirations
  • Resources
  • Technology
  • Tutourial & Tips
  • W.I.P

© 2025 Dean Ha. All Rights Reserved

  • About
  • Portfolio
  • Photography
  • Blog
  • Contact