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

How to use Lodash with Vue

How to use Lodash with Vue

Reactions 54 Comments
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 41 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 77 Comments 6
5 min read
4 Ways to Combine Strings in JavaScript

4 Ways to Combine Strings in JavaScript

Reactions 95 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 186 Comments 22
4 min read
6 Use Cases of Spread with Array in JavaScript

6 Use Cases of Spread with Array in JavaScript

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

JavaScript Object.fromEntries()

Reactions 89 Comments 4
5 min read
Classes in JavaScript

Classes in JavaScript

Reactions 493 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 112 Comments 5
5 min read
Building my site with Tailwind CSS

Building my site with Tailwind CSS

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

5 Way to Append Item to Array in JavaScript

Reactions 160 Comments 18
6 min read
window.location Cheatsheet

window.location Cheatsheet

Reactions 968 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 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

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

HTML <audio> Tag

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

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

JavaScript: Skip Values In Destructuring

Reactions 87 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 640 Comments 63
7 min read
Setting Default Parameters in JavaScipt

Setting Default Parameters in JavaScipt

Reactions 108 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 97 Comments 7
3 min read
JavaScript Module Cheatsheet ūü壟Ĩ

JavaScript Module Cheatsheet ūü壟Ĩ

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

Convert Iterable to Array using Spread

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

HTML `<kbd>` Tag

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

Converting Object to an Array in JavaScript

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

Flexbox: Aligning with Auto Margins

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

Flexbox30: Learn Flexbox with 30 Tidbits

Reactions 228 Comments 20
1 min read
Centering Elements with Flexbox

Centering Elements with Flexbox

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

CodeRecipe: How to reverse an array in JavaScript

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

String endsWith() Method in JavaScript

Reactions 56 Comments
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 89 Comments 9
6 min read
padEnd String Method in JavaScript

padEnd String Method in JavaScript

Reactions 56 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 106 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 Comments
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 Comments
6 min read
Highlight text with HTML mark tag

Highlight text with HTML mark tag

Reactions 52 Comments 8
5 min read
Exponentiation Operator in JavaScript

Exponentiation Operator in JavaScript

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

How to Create Multi-Line String with Template Literals

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

Styling Placeholder Text with CSS

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

How to Get an Object Length

Reactions 115 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 110 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 211 Comments 27
4 min read
loading...