loading...
Samantha Ming profile picture

Samantha Ming

Frontend Developer sharing weekly JS, HTML, CSS code tidbits 🔥Discover them all on samanthaming.com 💛

Work

Front End Developer

How to use Lodash with Vue

How to use Lodash with Vue

Reactions 51
5 min read
Testing Non-Exported Functions in JavaScript

Testing Non-Exported Functions in JavaScript

Reactions 67 Comments 7
5 min read
Journal Entry #1: Taking Action!

Journal Entry #1: Taking Action!

Reactions 39 Comments 2
4 min read
String Pad in JavaScript

String Pad in JavaScript

Reactions 79 Comments 4
5 min read
How to avoid empty class in Vue with null

How to avoid empty class in Vue with null

Reactions 74 Comments 6
5 min read
4 Ways to Combine Strings in JavaScript

4 Ways to Combine Strings in JavaScript

Reactions 92 Comments 5
5 min read
Fix Text Overlap with CSS white-space

Fix Text Overlap with CSS white-space

Reactions 60 Comments 2
5 min read
How to Check if Object is Empty in JavaScript

How to Check if Object is Empty in JavaScript

Reactions 197 Comments 13
5 min read
How I'm using Vue Slots on my site

How I'm using Vue Slots on my site

Reactions 177 Comments 22
4 min read
6 Use Cases of Spread with Array in JavaScript

6 Use Cases of Spread with Array in JavaScript

Reactions 159 Comments 24
5 min read
JavaScript Object.fromEntries()

JavaScript Object.fromEntries()

Reactions 88 Comments 4
5 min read
Classes in JavaScript

Classes in JavaScript

Reactions 483 Comments 20
4 min read
How to check if Variable is an Array in JavaScript

How to check if Variable is an Array in JavaScript

Reactions 110 Comments 5
5 min read
Building my site with Tailwind CSS

Building my site with Tailwind CSS

Reactions 139 Comments 13
8 min read
5 Way to Append Item to Array in JavaScript

5 Way to Append Item to Array in JavaScript

Reactions 159 Comments 18
6 min read
window.location Cheatsheet

window.location Cheatsheet

Reactions 948 Comments 31
7 min read
How to Trim String in JavaScript

How to Trim String in JavaScript

Reactions 60 Comments 8
5 min read
Math.sign: How to Check if a Number is Positive or Negative in JavaScript

Math.sign: How to Check if a Number is Positive or Negative in JavaScript

Reactions 69 Comments 20
4 min read
Extract Functions Arguments using Destructure in JavaScript

Extract Functions Arguments using Destructure in JavaScript

Reactions 96 Comments 12
4 min read
4 Ways to Convert String to Character Array in JavaScript

4 Ways to Convert String to Character Array in JavaScript

Reactions 240 Comments 13
5 min read
HTML <audio> Tag

HTML <audio> Tag

Reactions 92 Comments 1
5 min read
How to check if an array includes a value in JavaScript?

How to check if an array includes a value in JavaScript?

Reactions 95 Comments 7
3 min read
JavaScript: Skip Values In Destructuring

JavaScript: Skip Values In Destructuring

Reactions 86 Comments 4
3 min read
2 Ways to Convert Values to Boolean in JavaScript

2 Ways to Convert Values to Boolean in JavaScript

Reactions 92 Comments 12
4 min read
CSS Variables

CSS Variables

Reactions 627 Comments 59
7 min read
Setting Default Parameters in JavaScipt

Setting Default Parameters in JavaScipt

Reactions 106 Comments 3
3 min read
Building my New Site with VuePress

Building my New Site with VuePress

Reactions 116 Comments 15
7 min read
JavaScript Array.flatMap()

JavaScript Array.flatMap()

Reactions 96 Comments 7
3 min read
JavaScript Module Cheatsheet 📄‬

JavaScript Module Cheatsheet 📄‬

Reactions 834 Comments 32
4 min read
Convert Iterable to Array using Spread

Convert Iterable to Array using Spread

Reactions 98 Comments 6
3 min read
HTML `<kbd>` Tag

HTML `<kbd>` Tag

Reactions 233 Comments 18
3 min read
Converting Object to an Array in JavaScript

Converting Object to an Array in JavaScript

Reactions 134 Comments 14
3 min read
Flexbox: Aligning with Auto Margins

Flexbox: Aligning with Auto Margins

Reactions 83 Comments 2
2 min read
Flexbox30: Learn Flexbox with 30 Tidbits

Flexbox30: Learn Flexbox with 30 Tidbits

Reactions 204 Comments 20
1 min read
Centering Elements with Flexbox

Centering Elements with Flexbox

Reactions 105 Comments 14
1 min read
CodeRecipe: How to reverse an array in JavaScript

CodeRecipe: How to reverse an array in JavaScript

Reactions 87 Comments 13
2 min read
String endsWith() Method in JavaScript

String endsWith() Method in JavaScript

Reactions 56
4 min read
CSS :empty Selector

CSS :empty Selector

Reactions 191 Comments 10
4 min read
Flatten Array using Array.flat() in JavaScript

Flatten Array using Array.flat() in JavaScript

Reactions 46 Comments 2
3 min read
3 Ways to Clone Objects in JavaScript

3 Ways to Clone Objects in JavaScript

Reactions 86 Comments 8
6 min read
padEnd String Method in JavaScript

padEnd String Method in JavaScript

Reactions 57 Comments 2
3 min read
Strikethrough using HTML5

Strikethrough using HTML5

Reactions 53 Comments 7
4 min read
String startsWith() Method in JavaScript

String startsWith() Method in JavaScript

Reactions 73 Comments 6
3 min read
Code Smell: No AND in Function name

Code Smell: No AND in Function name

Reactions 102 Comments 16
4 min read
Dot notation vs Bracket notation

Dot notation vs Bracket notation

Reactions 105 Comments 15
4 min read
CSS only-child

CSS only-child

Reactions 61 Comments 7
4 min read
Better Array check with Array.isArray

Better Array check with Array.isArray

Reactions 19
3 min read
5 Ways to Convert a Value to String in JavaScript

5 Ways to Convert a Value to String in JavaScript

Reactions 114 Comments 8
4 min read
How to Check NaN in JavaScript

How to Check NaN in JavaScript

Reactions 23
6 min read
Highlight text with HTML mark tag

Highlight text with HTML mark tag

Reactions 46 Comments 8
5 min read
Exponentiation Operator in JavaScript

Exponentiation Operator in JavaScript

Reactions 21
2 min read
How to Create Multi-Line String with Template Literals

How to Create Multi-Line String with Template Literals

Reactions 45 Comments 12
3 min read
Styling Placeholder Text with CSS

Styling Placeholder Text with CSS

Reactions 115 Comments 4
4 min read
How to Get an Object Length

How to Get an Object Length

Reactions 114 Comments 24
4 min read
Number Truncation in JavaScript

Number Truncation in JavaScript

Reactions 74 Comments 6
3 min read
Quick Debug using || with console.log

Quick Debug using || with console.log

Reactions 114 Comments 4
2 min read
A Guide to CSS counter

A Guide to CSS counter

Reactions 130 Comments 10
5 min read
3 Ways to Set Default Value in JavaScript

3 Ways to Set Default Value in JavaScript

Reactions 100 Comments 6
4 min read
Prevent Object Retrieval TypeError with &&

Prevent Object Retrieval TypeError with &&

Reactions 60 Comments 18
4 min read
How to Deep Clone an Array in JavaScript

How to Deep Clone an Array in JavaScript

Reactions 139 Comments 26
4 min read
loading...