DEV Community

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

Top 7
5
Writing Debut
Five Year Club
Trusted Member 2022
Four Year Club
Three Year Club
Two Year Club
CSS
One Year Club
16 Week Writing Streak
8 Week Writing Streak
4 Week Writing Streak
How to use Lodash with Vue

How to use Lodash with Vue

54
Comments
5 min read

Want to connect with Samantha Ming?

Create an account to connect with Samantha Ming. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Testing Non-Exported Functions in JavaScript

Testing Non-Exported Functions in JavaScript

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

Journal Entry #1: Taking Action!

42
Comments 2
4 min read
String Pad in JavaScript

String Pad in JavaScript

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

How to avoid empty class in Vue with null

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

4 Ways to Combine Strings in JavaScript

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

Fix Text Overlap with CSS white-space

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

How to Check if Object is Empty in JavaScript

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

How I'm using Vue Slots on my site

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

6 Use Cases of Spread with Array in JavaScript

160
Comments 24
5 min read
JavaScript Object.fromEntries()

JavaScript Object.fromEntries()

89
Comments 4
5 min read
Classes in JavaScript

Classes in JavaScript

495
Comments 21
4 min read
How to check if Variable is an Array in JavaScript

How to check if Variable is an Array in JavaScript

112
Comments 5
5 min read
Building my site with Tailwind CSS

Building my site with Tailwind CSS

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

5 Way to Append Item to Array in JavaScript

159
Comments 18
6 min read
window.location Cheatsheet

window.location Cheatsheet

971
Comments 31
7 min read
How to Trim String in JavaScript

How to Trim String in JavaScript

61
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

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

Extract Functions Arguments using Destructure in JavaScript

104
Comments 13
4 min read
4 Ways to Convert String to Character Array in JavaScript

4 Ways to Convert String to Character Array in JavaScript

242
Comments 13
5 min read
HTML <audio> Tag

HTML <audio> Tag

93
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?

96
Comments 7
3 min read
JavaScript: Skip Values In Destructuring

JavaScript: Skip Values In Destructuring

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

2 Ways to Convert Values to Boolean in JavaScript

92
Comments 12
4 min read
CSS Variables

CSS Variables

639
Comments 63
7 min read
Setting Default Parameters in JavaScipt

Setting Default Parameters in JavaScipt

108
Comments 3
3 min read
Building my New Site with VuePress

Building my New Site with VuePress

115
Comments 15
7 min read
JavaScript Array.flatMap()

JavaScript Array.flatMap()

97
Comments 6
3 min read
JavaScript Module Cheatsheet 📄‬

JavaScript Module Cheatsheet 📄‬

872
Comments 32
4 min read
Convert Iterable to Array using Spread

Convert Iterable to Array using Spread

99
Comments 6
3 min read
HTML `<kbd>` Tag

HTML `<kbd>` Tag

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

Converting Object to an Array in JavaScript

140
Comments 14
3 min read
Flexbox: Aligning with Auto Margins

Flexbox: Aligning with Auto Margins

93
Comments 2
2 min read
Flexbox30: Learn Flexbox with 30 Tidbits

Flexbox30: Learn Flexbox with 30 Tidbits

237
Comments 21
1 min read
Centering Elements with Flexbox

Centering Elements with Flexbox

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

CodeRecipe: How to reverse an array in JavaScript

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

String endsWith() Method in JavaScript

56
Comments
4 min read
CSS :empty Selector

CSS :empty Selector

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

Flatten Array using Array.flat() in JavaScript

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

3 Ways to Clone Objects in JavaScript

89
Comments 9
6 min read
padEnd String Method in JavaScript

padEnd String Method in JavaScript

56
Comments 2
3 min read
Strikethrough using HTML5

Strikethrough using HTML5

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

String startsWith() Method in JavaScript

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

Code Smell: No AND in Function name

102
Comments 16
4 min read
Dot notation vs Bracket notation

Dot notation vs Bracket notation

106
Comments 15
4 min read
CSS only-child

CSS only-child

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

Better Array check with Array.isArray

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

5 Ways to Convert a Value to String in JavaScript

113
Comments 8
4 min read
How to Check NaN in JavaScript

How to Check NaN in JavaScript

23
Comments
6 min read
Highlight text with HTML mark tag

Highlight text with HTML mark tag

54
Comments 8
5 min read
Exponentiation Operator in JavaScript

Exponentiation Operator in JavaScript

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

How to Create Multi-Line String with Template Literals

46
Comments 12
3 min read
Styling Placeholder Text with CSS

Styling Placeholder Text with CSS

116
Comments 4
4 min read
How to Get an Object Length

How to Get an Object Length

115
Comments 24
4 min read
Number Truncation in JavaScript

Number Truncation in JavaScript

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

Quick Debug using || with console.log

114
Comments 4
2 min read
A Guide to CSS counter

A Guide to CSS counter

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

3 Ways to Set Default Value in JavaScript

110
Comments 6
4 min read
Prevent Object Retrieval TypeError with &&

Prevent Object Retrieval TypeError with &&

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

How to Deep Clone an Array in JavaScript

174
Comments 31
4 min read
loading...