freeCodeCamp function

This name means javascript function names. Why not FreeCodeCamp? as is contain full words with big first letter? example addClass

Not sure what your question is? Are you asking why it’s
function freeCodeCamp()
instead of
function FreeCodeCamp()

theoretically you can name your function anything you want


but there are known styles for defining variables , functions and other constructs that are used by the developers who use the specific language and you should become familiar with the specific language’s naming conventions and use them to allow your code to be easily maintained.

fun little article I found that discusses the naming conventions in use in different languages

1 Like