โ
Javascript Reduce method Example.
โซ๏ธ Finding the longest word in a given string.
function longerWord(a, b) {
if (a.length > b.length) {
return a;
} else {
return b;
}
}
const sentence = 'Hey there what are you doing this Wednesday night';
const longest = sentence.split(' ').reduce(longerWord);
console.log(longest);
// Wednesday
#JavaScript
(๐) โข @WebsiteDesignLearningGroup
โซ๏ธ Finding the longest word in a given string.
function longerWord(a, b) {
if (a.length > b.length) {
return a;
} else {
return b;
}
}
const sentence = 'Hey there what are you doing this Wednesday night';
const longest = sentence.split(' ').reduce(longerWord);
console.log(longest);
// Wednesday
#JavaScript
(๐) โข @WebsiteDesignLearningGroup
๐31โค4
๐๐ Paid promotion available contact @sreetamo . ๐
Starting at just $5. Offer for limited time. Grab it now.
โค4
Top 10 Github Repositories For Web Developer
1. Web Developer-Roadmap : https://github.com/kamranahmedse/developer-roadmap
2. 30-Seconds-Of-Code : https://github.com/30-seconds/30-seconds-of-code
3. Awesome-Cheatsheets : https://github.com/LeCoupa/awesome-cheatsheets
4. CSS-Protips : https://github.com/AllThingsSmitty/css-protips
5. 33-JS-Concepts : https://github.com/leonardomso/33-js-concepts
6. You-Dont-Know-JS : https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed
7. Front-End-Checklist : https://github.com/thedaviddias/Front-End-Checklist
8. Javascript-Questions : https://github.com/lydiahallie/javascript-questions
9. Clean-Code-Javascript : https://github.com/ryanmcdermott/clean-code-javascript
Join for more: https://t.iss.one/WebsiteDesignLearningGroup
1. Web Developer-Roadmap : https://github.com/kamranahmedse/developer-roadmap
2. 30-Seconds-Of-Code : https://github.com/30-seconds/30-seconds-of-code
3. Awesome-Cheatsheets : https://github.com/LeCoupa/awesome-cheatsheets
4. CSS-Protips : https://github.com/AllThingsSmitty/css-protips
5. 33-JS-Concepts : https://github.com/leonardomso/33-js-concepts
6. You-Dont-Know-JS : https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed
7. Front-End-Checklist : https://github.com/thedaviddias/Front-End-Checklist
8. Javascript-Questions : https://github.com/lydiahallie/javascript-questions
9. Clean-Code-Javascript : https://github.com/ryanmcdermott/clean-code-javascript
Join for more: https://t.iss.one/WebsiteDesignLearningGroup
๐11๐ฅ5โค3
Companies won't go from 100 developers down to 0 because of AI.
They will, however, solve 10x more problems with the same team. 10x more software, 10x higher quality.
We may see a net gain in software jobs, not a decrease.
They will, however, solve 10x more problems with the same team. 10x more software, 10x higher quality.
We may see a net gain in software jobs, not a decrease.
๐23โค8๐3
๐ฅ Git: Merging vs Rebasing
In git, when there are some changes in a parent branch from which you forked, there are two strategies to incorporate them into your working branch:
โจ Merging:
As the name suggests, 'merges' the parent branch into your branch. The advantage is that handling conflicts (if any) is easier, since you only need to resolve them for the merge commit once. However, this may make the git history a bit harder to follow
โจ Rebasing:
Takes all the commits you made in your branch, and applies them on top of the head of the parent branch. As if repositioning the base of the branch.
This helps to create a linear and easy to follow git history, but conflict resolution may be tedious and you need to force push the branch to the origin.
In git, when there are some changes in a parent branch from which you forked, there are two strategies to incorporate them into your working branch:
โจ Merging:
As the name suggests, 'merges' the parent branch into your branch. The advantage is that handling conflicts (if any) is easier, since you only need to resolve them for the merge commit once. However, this may make the git history a bit harder to follow
โจ Rebasing:
Takes all the commits you made in your branch, and applies them on top of the head of the parent branch. As if repositioning the base of the branch.
This helps to create a linear and easy to follow git history, but conflict resolution may be tedious and you need to force push the branch to the origin.
๐17โค6
๐
๐
Join our discussion group https://t.iss.one/website_DesignLearning_Group
Forwarded from Web design & ๐ development
Join our new channel to learn AI tools ๐https://t.iss.one/Aitechnologylearning
Join our new channel to learn the latest AI tools and techniques.
๐ Master powerful AI tools like ChatGPT, Midjourney, and Stable Diffusion.
๐Discover the limitless possibilities of AI and how it can enhance your creativity and productivity.
๐Explore the vast world of AI and unlock its potential to transform your life and business.
Join our channel now: https://t.iss.one/Aitechnologylearning
Join our new channel to learn the latest AI tools and techniques.
๐ Master powerful AI tools like ChatGPT, Midjourney, and Stable Diffusion.
๐Discover the limitless possibilities of AI and how it can enhance your creativity and productivity.
๐Explore the vast world of AI and unlock its potential to transform your life and business.
Join our channel now: https://t.iss.one/Aitechnologylearning
๐5โค3
๐จ Looking for the Best Resources for Front End Design? โค๏ธ
๐ Color Sites:
1. colorhunt.co
2. klart.io
3. color.adobe.com
4. webkul.github.io
5. pigment.shapefactory.co
๐ป Sites To Download Fonts:
1. dafont.com
2. 1001fonts.com
3. fontsquirrel.com
4. fontfreak.com/fonts-new.htm
๐ผ Sites To Download Vector Logos:
1. seeklogo.com
2. logovector.net
3. logotypes101.com
4. logos-vector.com
๐ต Sites To Download Icons:
1. flaticon.com
2. freeicons.io
3. iconstore.co
4. iconfinder.com
5. digitalnomadicons.com
6. iconstore.co
๐ Brushes Download Sites:
1. brushking.eu
2. brusheezy.com/brushes
3. myphotoshopbrushes.com
4. fbrushes.com
5. gfxfever.com
๐ Sites To Download Files:
1. freepik.com
2. all-free-download.com
3. vecteezy.com
4. freeimages.com
๐ธ Sites To Download Mockups:
1. mockupsforfree.com
2. mockupworld.co
3. graphicburger.com
4. zippypixels.com
โจ Inspiration Sites:
1. inspirationde.com
2. designspiration.net
3. pinterest.com
4. dribbble.com
๐ฅ Video Sites:
1. mixkit.co
2. coverr.co
3. motionplaces.com
4. videezy.com
๐ผ Photo Sites Without Background:
1. cleanpng.com
2. pngimg.com
3. footyrenders.com
4. pngtree.com
๐ท Photo Sites:
1. unsplash.com
2. pexels.com
3. pixabay.com
4. stocksnap.io
5. burst.shopify.com.
Explore these Incredible Resources and take your Front End UI/UX Projects to the next level.
๐ Color Sites:
1. colorhunt.co
2. klart.io
3. color.adobe.com
4. webkul.github.io
5. pigment.shapefactory.co
๐ป Sites To Download Fonts:
1. dafont.com
2. 1001fonts.com
3. fontsquirrel.com
4. fontfreak.com/fonts-new.htm
๐ผ Sites To Download Vector Logos:
1. seeklogo.com
2. logovector.net
3. logotypes101.com
4. logos-vector.com
๐ต Sites To Download Icons:
1. flaticon.com
2. freeicons.io
3. iconstore.co
4. iconfinder.com
5. digitalnomadicons.com
6. iconstore.co
๐ Brushes Download Sites:
1. brushking.eu
2. brusheezy.com/brushes
3. myphotoshopbrushes.com
4. fbrushes.com
5. gfxfever.com
๐ Sites To Download Files:
1. freepik.com
2. all-free-download.com
3. vecteezy.com
4. freeimages.com
๐ธ Sites To Download Mockups:
1. mockupsforfree.com
2. mockupworld.co
3. graphicburger.com
4. zippypixels.com
โจ Inspiration Sites:
1. inspirationde.com
2. designspiration.net
3. pinterest.com
4. dribbble.com
๐ฅ Video Sites:
1. mixkit.co
2. coverr.co
3. motionplaces.com
4. videezy.com
๐ผ Photo Sites Without Background:
1. cleanpng.com
2. pngimg.com
3. footyrenders.com
4. pngtree.com
๐ท Photo Sites:
1. unsplash.com
2. pexels.com
3. pixabay.com
4. stocksnap.io
5. burst.shopify.com.
Explore these Incredible Resources and take your Front End UI/UX Projects to the next level.
Fontfreak
Font Freak - New Fonts page 1
Font Freak - New Fonts page 1 Download free fonts. Thousands of true type fonts and dingbats for PC and Mac. Tom\'s New Roman, Damel, Hanging Party, CF Industrial Fabrics Regular, Awesome Brusher, FODEN, Break Office, Space Age
๐44โค16๐ฅ2๐1