#codetidbits30 arama sonuçları

frontendfront: RT samantha_ming: #CodeTidbits30 Day 21 🎄 We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, CSS got you 🤗. To style an element that has no siblings, use :on…

GarySte22056486's tweet image. frontendfront: RT samantha_ming: #CodeTidbits30 Day 21 🎄

We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, CSS got you 🤗. To style an element that has no siblings, use :on…

Good job Samantha #CodeTidbits30 has been on a roll 👏👏 PS: I don’t know who needs to see this but if anyone wants to replicate the above without flexbox, you’d have the parent element and child element styled respectively like below:

theJohnKey's tweet image. Good job Samantha #CodeTidbits30 has been on a roll 👏👏

PS: I don’t know who needs to see this but if anyone wants to replicate the above without flexbox,  you’d have the parent element and child element styled respectively like below:

#CodeTidbits30 Day 21 🎄 CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

samantha_ming's tweet image. #CodeTidbits30 Day 21 🎄

CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

#CodeTidbits30 Day 27 🎄 With Flexbox, it's super easy to horizontally and vertically centre an element! #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 27 🎄

With Flexbox, it's super easy to horizontally and vertically centre an element!

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 9 🎄 Coming up with good variable names can be a challenge. For boolean values, you can follow this convention. Prefix it with `is`, `has`, or `can`. Just by reading the name, you'll know it's a boolean 🙌 #Codenewbie #100DaysOfCode #301DaysOfCode

CodeGranthShala's tweet image. #CodeTidbits30 Day 9 🎄

Coming up with good variable names can be a challenge. For boolean values, you can follow this convention. Prefix it with `is`, `has`, or `can`. Just by reading the name, you'll know it's a boolean 🙌

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 28 🎄 One thing that doesn't get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 28 🎄

One thing that doesn't get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 14 🎄 Here are 5 ways to add an item to the end of an array. "push", "splice", and "length" will mutate the original array. Whereas "concat"and "spread" will not and will instead return a new array👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 14 🎄

Here are 5 ways to add an item to the end of an array. "push", "splice", and "length" will mutate the original array. Whereas "concat"and "spread" will not and will instead return a new array👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 15 🎄 Looking for a site's URL information, then the "window.location" object is for you! Use its properties to get information on the current page address or use its methods to do some page redirect or refresh 💫 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 15 🎄

Looking for a site's URL information, then the "window.location" object is for you! Use its properties to get information on the current page address or use its methods to do some page redirect or refresh 💫

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 19 🎄 5 Ways to Convert a Value to a String - I like the "String()" way b/c I think it's the most intentional and explicit. If you're following Airbnb's style guide, it's also their preferred way 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 19 🎄

5 Ways to Convert a Value to a String  - I like the "String()" way b/c I think it's the most intentional and explicit. If you're following Airbnb's style guide, it's also their preferred way 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 23 🎄 Wrap your keyboard command text with <kbd>. Great to use especially in documentations. It's more semantically correct & allows you to target it for some nice styling 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 23 🎄

Wrap your keyboard command text with &amp;lt;kbd&amp;gt;. Great to use especially in documentations. It&apos;s more semantically correct &amp;amp; allows you to target it for some nice styling 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 16 🎄 Because objects in #JavaScript are references values, you can't simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 16 🎄

Because objects in #JavaScript are references values, you can&apos;t simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 29 🎄 HTML download attribute - Turn your <a> default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR you can pass in a value to set a custom name 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 29 🎄

HTML download attribute - Turn your &amp;lt;a&amp;gt; default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR  you can pass in a value to set a custom name 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 18 🎄 Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there's a "depth" parameter, so you can pass in ANY levels of nesting. AMAZING 🤩 #Codenewbie #100DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 18 🎄

Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there&apos;s a &quot;depth&quot; parameter, so you can pass in ANY levels of nesting. AMAZING 🤩

#Codenewbie #100DaysOfCode

#CodeTidbits30 Day 24 🎄 if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 24 🎄

if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator 

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 20 🎄 An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 20 🎄

An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 30 🎄 Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨ #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 30 🎄

Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 26 🎄 Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. "while-loop" keeps going until a specified condition is met. In my case, when I run out of money 😂  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 26 🎄

Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. &quot;while-loop&quot; keeps going until a specified condition is met. In my case, when I run out of money 😂

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 22 🎄 Super easy to add video directly to your site! No more dealing with Flash or whatever crazy plugins back in the day 😂. Simplify and move forward with HTML5 <video> tag, yay 🥳 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 22 🎄

Super easy to add video directly to your site! No more dealing with Flash or whatever crazy plugins back in the day 😂. Simplify and move forward with HTML5 &amp;lt;video&amp;gt; tag, yay 🥳

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 17 🎄 Use the ::placeholder pseudo element to style your placeholder text in an <input> or <textarea> form element. Most modern browsers support this, but for older browsers, vendor prefixes will be required. #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 17 🎄

Use the ::placeholder pseudo element to style your placeholder text in an &amp;lt;input&amp;gt; or &amp;lt;textarea&amp;gt; form element. Most modern browsers support this, but for older browsers, vendor prefixes will be required.

#Codenewbie #100DaysOfCode #301DaysOfCode

That's a wrap on #CodeTidbits30 🎉🎉🎉 Thank you for following the series! I hope you found the tidbits helpful! Don’t worry if you missed a day or two, a summary will be posted soon 🙌 Enjoy your New Year's Eve! Stay safe 😷💛


Great tip #CodeTidbits30

#CodeTidbits30 Day 29 🎄 HTML download attribute - Turn your <a> default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR you can pass in a value to set a custom name 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 29 🎄

HTML download attribute - Turn your &amp;lt;a&amp;gt; default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR  you can pass in a value to set a custom name 👏

#Codenewbie #100DaysOfCode #301DaysOfCode


#CodeTidbits30 Day 30 🎄 Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨ #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 30 🎄

Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 29 🎄 HTML download attribute - Turn your <a> default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR you can pass in a value to set a custom name 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 29 🎄

HTML download attribute - Turn your &amp;lt;a&amp;gt; default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR  you can pass in a value to set a custom name 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 28 🎄 One thing that doesn't get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 28 🎄

One thing that doesn&apos;t get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 27 🎄 With Flexbox, it's super easy to horizontally and vertically centre an element! #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 27 🎄

With Flexbox, it&apos;s super easy to horizontally and vertically centre an element!

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 26 🎄 Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. "while-loop" keeps going until a specified condition is met. In my case, when I run out of money 😂  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 26 🎄

Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. &quot;while-loop&quot; keeps going until a specified condition is met. In my case, when I run out of money 😂

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 25 🎄 Merry Christmas! I’ll keep this short so you can get on your merry way. "toUpperCase()" is a method that convert all letters to uppercase  #MerryChristmas #Christmas

samantha_ming's tweet image. #CodeTidbits30 Day 25 🎄

Merry Christmas! I’ll keep this short so you can get on your merry way. &quot;toUpperCase()&quot; is a method that convert all letters to uppercase 

#MerryChristmas #Christmas

#CodeTidbits30 Day 24 🎄 if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 24 🎄

if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator 

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 23 🎄 Wrap your keyboard command text with <kbd>. Great to use especially in documentations. It's more semantically correct & allows you to target it for some nice styling 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 23 🎄

Wrap your keyboard command text with &amp;lt;kbd&amp;gt;. Great to use especially in documentations. It&apos;s more semantically correct &amp;amp; allows you to target it for some nice styling 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 22 🎄 Super easy to add video directly to your site! No more dealing with Flash or whatever crazy plugins back in the day 😂. Simplify and move forward with HTML5 <video> tag, yay 🥳 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 22 🎄

Super easy to add video directly to your site! No more dealing with Flash or whatever crazy plugins back in the day 😂. Simplify and move forward with HTML5 &amp;lt;video&amp;gt; tag, yay 🥳

#Codenewbie #100DaysOfCode #301DaysOfCode

CSS amazes me sometimes... #CodeTidbits30

#CodeTidbits30 Day 21 🎄 CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

samantha_ming's tweet image. #CodeTidbits30 Day 21 🎄

CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you&apos;re the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤


#CodeTidbits30 Day 21 🎄 CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

samantha_ming's tweet image. #CodeTidbits30 Day 21 🎄

CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you&apos;re the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

#CodeTidbits30 Day 20 🎄 An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 20 🎄

An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 19 🎄 5 Ways to Convert a Value to a String - I like the "String()" way b/c I think it's the most intentional and explicit. If you're following Airbnb's style guide, it's also their preferred way 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 19 🎄

5 Ways to Convert a Value to a String  - I like the &quot;String()&quot; way b/c I think it&apos;s the most intentional and explicit. If you&apos;re following Airbnb&apos;s style guide, it&apos;s also their preferred way 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 18 🎄 Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there's a "depth" parameter, so you can pass in ANY levels of nesting. AMAZING 🤩 #Codenewbie #100DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 18 🎄

Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there&apos;s a &quot;depth&quot; parameter, so you can pass in ANY levels of nesting. AMAZING 🤩

#Codenewbie #100DaysOfCode

#CodeTidbits30 Day 17 🎄 Use the ::placeholder pseudo element to style your placeholder text in an <input> or <textarea> form element. Most modern browsers support this, but for older browsers, vendor prefixes will be required. #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 17 🎄

Use the ::placeholder pseudo element to style your placeholder text in an &amp;lt;input&amp;gt; or &amp;lt;textarea&amp;gt; form element. Most modern browsers support this, but for older browsers, vendor prefixes will be required.

#Codenewbie #100DaysOfCode #301DaysOfCode

Thanks Andrew! Hope you’re also enjoying the #CodeTidbits30 series 😊👏


#CodeTidbits30 Day 16 🎄 Because objects in #JavaScript are references values, you can't simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 16 🎄

Because objects in #JavaScript are references values, you can&apos;t simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

"#codetidbits30" için sonuç bulunamadı

#CodeTidbits30 Day 27 🎄 With Flexbox, it's super easy to horizontally and vertically centre an element! #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 27 🎄

With Flexbox, it&apos;s super easy to horizontally and vertically centre an element!

#Codenewbie #100DaysOfCode #301DaysOfCode

frontendfront: RT samantha_ming: #CodeTidbits30 Day 21 🎄 We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, CSS got you 🤗. To style an element that has no siblings, use :on…

GarySte22056486's tweet image. frontendfront: RT samantha_ming: #CodeTidbits30 Day 21 🎄

We have first-child, last-child, and nth-child. What if you&apos;re the only child. Not everyone has siblings, you know! No worries, CSS got you 🤗. To style an element that has no siblings, use :on…

#CodeTidbits30 Day 21 🎄 CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you're the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

samantha_ming's tweet image. #CodeTidbits30 Day 21 🎄

CSS only-child 👩‍👧 - We have first-child, last-child, and nth-child. What if you&apos;re the only child. Not everyone has siblings, you know! No worries, #CSS got you 🤗. If you want to style an element that has no siblings, use :only-child 👤

#CodeTidbits30 Day 28 🎄 One thing that doesn't get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 28 🎄

One thing that doesn&apos;t get talk often is Flexbox with Auto Margins. Although not a Flexbox property, it can be used to align child elements. Which is great for creating layouts 💯

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 14 🎄 Here are 5 ways to add an item to the end of an array. "push", "splice", and "length" will mutate the original array. Whereas "concat"and "spread" will not and will instead return a new array👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 14 🎄

Here are 5 ways to add an item to the end of an array. &quot;push&quot;, &quot;splice&quot;, and &quot;length&quot; will mutate the original array. Whereas &quot;concat&quot;and &quot;spread&quot; will not and will instead return a new array👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 15 🎄 Looking for a site's URL information, then the "window.location" object is for you! Use its properties to get information on the current page address or use its methods to do some page redirect or refresh 💫 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 15 🎄

Looking for a site&apos;s URL information, then the &quot;window.location&quot; object is for you! Use its properties to get information on the current page address or use its methods to do some page redirect or refresh 💫

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 16 🎄 Because objects in #JavaScript are references values, you can't simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 16 🎄

Because objects in #JavaScript are references values, you can&apos;t simply just copy using the `=`. But no worries, here are 3 ways for you to clone an object 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 29 🎄 HTML download attribute - Turn your <a> default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR you can pass in a value to set a custom name 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 29 🎄

HTML download attribute - Turn your &amp;lt;a&amp;gt; default hyperlink into a download link instead. The downloaded file will be the same as the original filename OR  you can pass in a value to set a custom name 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 19 🎄 5 Ways to Convert a Value to a String - I like the "String()" way b/c I think it's the most intentional and explicit. If you're following Airbnb's style guide, it's also their preferred way 👍 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 19 🎄

5 Ways to Convert a Value to a String  - I like the &quot;String()&quot; way b/c I think it&apos;s the most intentional and explicit. If you&apos;re following Airbnb&apos;s style guide, it&apos;s also their preferred way 👍

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 23 🎄 Wrap your keyboard command text with <kbd>. Great to use especially in documentations. It's more semantically correct & allows you to target it for some nice styling 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 23 🎄

Wrap your keyboard command text with &amp;lt;kbd&amp;gt;. Great to use especially in documentations. It&apos;s more semantically correct &amp;amp; allows you to target it for some nice styling 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

Good job Samantha #CodeTidbits30 has been on a roll 👏👏 PS: I don’t know who needs to see this but if anyone wants to replicate the above without flexbox, you’d have the parent element and child element styled respectively like below:

theJohnKey's tweet image. Good job Samantha #CodeTidbits30 has been on a roll 👏👏

PS: I don’t know who needs to see this but if anyone wants to replicate the above without flexbox,  you’d have the parent element and child element styled respectively like below:

#CodeTidbits30 Day 11 🎄 Colorful Console Messages 🌈 Add some style to your console statement with the `%c` specifier👩‍🎨 This is super handy to help you easily identify debug information from the console 👾 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 11 🎄

Colorful Console Messages 🌈 Add some style to your console statement with the `%c` specifier👩‍🎨 This is super handy to help you easily identify debug information from the console 👾

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 20 🎄 An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 20 🎄

An object is made up of key and value. So we need to start with a nested array with key-value pairs. From there, we can pass it into Object.fromEntries. This will convert our array into an object, yay 👏

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 18 🎄 Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there's a "depth" parameter, so you can pass in ANY levels of nesting. AMAZING 🤩 #Codenewbie #100DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 18 🎄

Array.flat() - It was always complicated to flatten an array in #JavaScript. Not anymore! There’s a built in method that flattens arrays. And there&apos;s a &quot;depth&quot; parameter, so you can pass in ANY levels of nesting. AMAZING 🤩

#Codenewbie #100DaysOfCode

📢Stay tuned with #CodeTidBits30 to #learntocode about #Javascript, #HTML and #CSS with @samantha_ming and his nice tidbits. Remember it's not just graphical tips but more like posts with cool educational #infographics, code samples, #developer resources, and more.

nilsandrey's tweet image. 📢Stay tuned with #CodeTidBits30 to #learntocode about #Javascript, #HTML and #CSS with @samantha_ming and his nice tidbits. 

Remember it&apos;s not just graphical tips but more like posts with cool educational #infographics, code samples, #developer resources, and more.
nilsandrey's tweet image. 📢Stay tuned with #CodeTidBits30 to #learntocode about #Javascript, #HTML and #CSS with @samantha_ming and his nice tidbits. 

Remember it&apos;s not just graphical tips but more like posts with cool educational #infographics, code samples, #developer resources, and more.

🎉 #CodeTidbits30 is coming back! Spread the news! 30 days of the very best JS, HTML, CSS code tidbits! Coming soon ✨

samantha_ming's tweet image. 🎉 #CodeTidbits30 is coming back!

Spread the news! 30 days of the very best JS, HTML, CSS code tidbits!

Coming soon ✨


#CodeTidbits30 Day 30 🎄 Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨ #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 30 🎄

Tired of the one-liner JSON output, well no more! Utilize JSON.stringify built-in pretty printing. Set the 3rd parameter with your desired spacing level 👍 Bam, instant GLAM ✨

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 24 🎄 if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 24 🎄

if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator 

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 12 🎄 Values in JS have an inherent Boolean value (true or false) associated with it. Super important when you’re using it for comparisons and conditional 🤓 #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 12 🎄

Values in JS have an inherent Boolean value (true or false) associated with it. Super important when you’re using it for comparisons and conditional 🤓

#Codenewbie #100DaysOfCode #301DaysOfCode

#CodeTidbits30 Day 26 🎄 Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. "while-loop" keeps going until a specified condition is met. In my case, when I run out of money 😂  #Codenewbie #100DaysOfCode #301DaysOfCode

samantha_ming's tweet image. #CodeTidbits30 Day 26 🎄

Happy #BoxingDay. It’s 🇨🇦 version of Black Friday. &quot;while-loop&quot; keeps going until a specified condition is met. In my case, when I run out of money 😂

#Codenewbie #100DaysOfCode #301DaysOfCode

Loading...

Something went wrong.


Something went wrong.


United States Trends