Different ways to capitalize strings in JavaScript and Python
The purpose of the project is just personal learning. I may revisit this code to find different solutions or to apply it under other context.
- Try and understand other given solutions here: https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-title-case-a-sentence/16088
- Do the same in Python
- Don't capitalize words like the, of, etc.
- Javascript ES6
- Python 3
NA - It's only coding examples, there's no setup.
Project is: finished, - but there are other solutions I haven't tried. So I probably revist.
Based on FreeCodeCamp's excercises. https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-algorithm-scripting/title-case-a-sentence