![Longest Word in a String : For Loop and If condition not enough ?! - JavaScript - The freeCodeCamp Forum Longest Word in a String : For Loop and If condition not enough ?! - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/8/0/8035ec24963e227bd981d457696e539972524d55.png)
Longest Word in a String : For Loop and If condition not enough ?! - JavaScript - The freeCodeCamp Forum
![Coding: Finding the Longest Word in a Sentence using JavaScript | by Monu Kumar Modi | The Fresh Writes | Medium Coding: Finding the Longest Word in a Sentence using JavaScript | by Monu Kumar Modi | The Fresh Writes | Medium](https://miro.medium.com/v2/resize:fit:532/1*Ah0hjrV8t0V3LKakyyCPug.png)
Coding: Finding the Longest Word in a Sentence using JavaScript | by Monu Kumar Modi | The Fresh Writes | Medium
![Why does my code not work in "Find the longest word in a string"? - JavaScript - The freeCodeCamp Forum Why does my code not work in "Find the longest word in a string"? - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/4X/d/a/4/da4d6b65cc7f75895f02abcbe9feb62946b0a772.png)
Why does my code not work in "Find the longest word in a string"? - JavaScript - The freeCodeCamp Forum
![Keagan Goetsch on X: "Just conquered @FreeCodeCamp Bonfire: Find Longest Word in a String https://t.co/CevmRvFuwx #LearnToCode #JavaScript https://t.co/rs8IlCZuCg" / X Keagan Goetsch on X: "Just conquered @FreeCodeCamp Bonfire: Find Longest Word in a String https://t.co/CevmRvFuwx #LearnToCode #JavaScript https://t.co/rs8IlCZuCg" / X](https://pbs.twimg.com/media/CWb5G7-UAAQcmJo.png)
Keagan Goetsch on X: "Just conquered @FreeCodeCamp Bonfire: Find Longest Word in a String https://t.co/CevmRvFuwx #LearnToCode #JavaScript https://t.co/rs8IlCZuCg" / X
![Find the Longest Word in a String -- Help, please! Can't find a mistake - JavaScript - The freeCodeCamp Forum Find the Longest Word in a String -- Help, please! Can't find a mistake - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/optimized/3X/6/6/66a28b2f6423b909ec7fbb7bfc3ee32e46cf3ef8_2_690x364.jpg)