Web design & ๐Ÿ˜ƒ development
28.1K subscribers
1.05K photos
36 videos
98 files
852 links
Admin๐Ÿ‘ฎ @sreetamo @Tranjar

Get free resources for webdevelopment , html , CSS , JavaScript , reactjs , wordpress , Php , nodejs ...etc. Buy ads: https://telega.io/c/WebsiteDesignLearningGroup
๐Ÿ‘ฅGroup๐Ÿ‘ฅ @website_DesignLearning_Group
Download Telegram
โœ… 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
๐Ÿ‘6๐Ÿ”ฅ1
๐Ÿ”… Loading Animation in CSS
What will be the output of the following code? console.log(2 + "2" - 1);
Anonymous Quiz
31%
21
33%
"21"
30%
3
6%
11
๐Ÿ‘3๐Ÿคฃ3โค2
โค1๐Ÿ”ฅ1
๐Ÿ”ด What will be output of this code?
Anonymous Quiz
32%
0,2
20%
1,2
22%
1,1
26%
0,1
๐Ÿ”ดWhat will be the output?
Anonymous Quiz
41%
True
27%
False
17%
TypeError
15%
Undefined
๐Ÿ‘2
๐Ÿ”ดWhat will be the output?
โค1
๐Ÿ”ดWhat will be the output?
โค1
๐Ÿ”ดWhat will be the output?
โค1
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?
โค1๐Ÿ‘1
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?
โค1
๐Ÿ”ดWhat will be the output?
๐Ÿ‘Ž2
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?
๐Ÿ”ดWhat will be the output?