how you call the capital first letter 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);