thescriptbinary
thescriptbinary

Script Binary

@thescriptbinary

Your go-to resource for Web Development.

β€’ β€’ 4 Posts β€’ 12 Views

  • No matching results...
  • Searching...

/ 255

null coalescing operator (`??`) vs Logical OR operator (`||`) in #JavaScript

image

β€’ β€’

95

β€’

`flat()` method in JavaScript ✨

πŸ“ŒThe flat() method creates a new array by flattening the elements of the input array.
πŸ“ŒYou can specify the depth of flattening as an argument. By default, the depth is 1.
πŸ“ŒUsing Infinity as the depth will completely flatten the array, regardless of how deeply nested it is.

Checkout more JS built-in methods here:
scriptbinary.com/js/javascript-hidden-gems

image

β€’ β€’

78

β€’

CSS Tip: Using `clamp()` for Responsive Font Sizes:
πŸ“Œ Use the clamp() function to create a fully responsive hero section with dynamic font sizes!
πŸ“Œ Define minimum, preferred, and maximum font sizes.
πŸ“Œ Perfect for making text look great on all devices without media queries.

Check some Interesting CSS Articles here: scriptbinary.com/topics/css

image

β€’ β€’

86

β€’