Hello 

This is the day 24 of #30 days of javascrip coding, at this day Function Intro And Basic Usage Lesson and i learned that
1- The Function is a code that executes certain things. The purpose of using the Function is that it applies a principle called DRY, which stands for Don’t Repeat Your Self. Meaning, if you have a specific task that you do every once in a while, here I use the Function in order not to repeat it every time.
2-There is a Function that is Built-in in the JavaScript language, meaning a Function is always ready and is used to execute a specific command, such as when you use the Consol.log, which is also considered a Function. Its function is to print commands
3- There is another type of Function called User-Defined, which is the Function that is created by the user.
4-The Function accepts two things, the first is the Parameter and the second is the Argument
5-The username is the parameter that is entered into the function and is expressed as Variable
That's what I learned today and this is the codes i have typed



Comments

Popular posts from this blog