I'm working on a homework project and I have it all working ok, however, I am trying to capitalize the first character of a template literal but I can't seem to workout how to do it. The data I am getting is from an API feed and it is fed to my project in lower case letters. How do I capitalize the first letter? Does anyone know?
My code is below:
<p class="data-by mb-0">${story.type} by: ${story.by}</p>
The project is a simple easy one, I'm just pulling an API feed and displaying the data on the index.html page. I just can't figure out how to capitalize the ${story.type}