The purpose of this coding challenge is to create a function that will take text in kebab case format or with spaces and output it in camel case format.
For Example:
Input : JavaScript coding ChAlLenge
Output : javaScriptCodingChallenge
Input : JavaScript-coding-challenge
Output : JavaScriptCodingChallenge
Input : javaScriptCodingChallenge
Output : javaScriptCodingChallenge
At the end of the this coding challenge, students will be able to;
-
analyze a problem, identify and apply programming knowledge for appropriate solution.
-
demonstrate their knowledge of algorithmic design principles by using JavaScript effectively.
-
Call your function with a string. The input string must not contain both '-' and ' '. only '-' or ' '
-
Format the input string as camel case
โ Happy Coding โ