How to Create a Word Counter - JavaScript Project For Beginners

  Рет қаралды 8,758

dcode

dcode

Күн бұрын

Пікірлер: 11
@ManontheBroadcast
@ManontheBroadcast 2 жыл бұрын
I have rarely encountered labeled statements ( or even the continue keyword ) in any of the thousands of JavaScript tutorials out there ... thanks for your effort !
@purvadicholkar8356
@purvadicholkar8356 2 жыл бұрын
I learn more from one of your 30 minute videos' than in a whole 3 term course in grade 8. All hail the KING: Dcode!
@prizmic3448
@prizmic3448 2 жыл бұрын
You are literally the reason my programming assignment will be at least partially correct. Otherwise, I am clueless with js lol
@SvetaSveta-ms4hi
@SvetaSveta-ms4hi 3 жыл бұрын
Thanks a bunch! 🙏 Learned a lot.
@cryptoboy1461
@cryptoboy1461 3 жыл бұрын
You can't be called dumb you are very smart!
@renatajosipovic
@renatajosipovic 2 жыл бұрын
It was very helpful, thanks!😊
@burgasHoH
@burgasHoH 3 жыл бұрын
Great content and explanation sir as per usual
@sbasalan
@sbasalan 3 жыл бұрын
I think you add that content of html 00:01:51 first with automatic something (auto-generated), right?
@slackergeek2007
@slackergeek2007 2 жыл бұрын
Would love to see a word counter that can be attached to both a regular input and textarea. And by attached I mean embedded in the field, not below it. Inputs are easy, but I am struggling with a textarea, especially when scrollbars become visible.
@-ebtkarat411
@-ebtkarat411 10 ай бұрын
However, there's a small issue in your implementation. You're iterating over each character of the text and then counting the occurrences of that character in the entire text on each iteration. This approach doesn't accurately check for consecutive occurrences. function abscenceOfThreeConsecutiveCharacters(text) { for (let i = 0; i < text.length - 2; i++) { if (text[i] === text[i + 1] && text[i] === text[i + 2]) { return false; } } return true; }
@DGronki
@DGronki 3 жыл бұрын
Remarks: use css variables to make some values consistent in css better to use ?? where it is possible instead ||
How to Build YOUR OWN JavaScript Console
22:19
dcode
Рет қаралды 10 М.
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Coding Challenge #40.1: Word Counter in JavaScript
21:54
The Coding Train
Рет қаралды 50 М.
Important differences between textContent and innerText
11:44
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,5 М.
Build Your Own THEME SELECTOR with JavaScript & CSS
15:50
Word & Character Counter in HTML CSS and JavaScript  | SharathchandarK
26:01
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 368 М.
Create and Deploy Your Own COLOR PICKER with JavaScript
43:24
Making a Game in JavaScript with No Experience
5:49
Goodgis
Рет қаралды 905 М.