text transform first letter uppercase code example
Example 1: css capitalize first letter
&::first-letter {
text-transform: capitalize;
}
Example 2: make first letter uppercase
const publication = "freeCodeCamp";
publication[0].toUpperCase() + publication.substring(1);