function to uppercase the first letter pp 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);