Build a Title Case Converter

I used .split(““), .splice(), .join(““), .toUpperCase(), .toLowerCase() to solve this problem. You just need to split the sentence and the words to select the first letter with the index 0. Then use the .toUpperCase() and just simply join them together with .join(““).

code removed by moderator

Welcome to the forum @2024200000216 !

Do you have a question? If so, please provide a link to the challenge you are working on.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Sorry sir, I did not understand this. I won’t do it again.