Welcome to my class

Challenge 📝

Resources 📚

Given is a string className. Create a p element which has className as class and className as content. In the output, the first letter should be displayed in capital letters. Append the created element to the body tag.

Examples:

container => Container

function welcomeToMyClass(className) {
}
Test Cases
Console Logs
JS Errors
Run Code!
flag