caps all to first letter word capital code example
Example: make first letter uppercase
const publication = "freeCodeCamp";
publication[0].toUpperCase() + publication.substring(1);
const publication = "freeCodeCamp";
publication[0].toUpperCase() + publication.substring(1);