FizzBuzz++: Return of the Modulus
An Explanation Is Needed

Check out the piece of code provided. You can see we have an object Hello which contains the function Name. This is a structure you will see a lot in this project!

Objects are a great way of grouping functions and variables. They may seem to be more unnecessary work at this point. But in more complex pieces of code they create consistent structures which are easier to understand and use. For example, they can be used in functions just like variables. They are really important!

To access a function within an object, use the syntax ObjectName.FunctionName. In this case, we'd type in Hello.Name. We're using our old friend dot notation!


Create a variable called myName with your name as its value and then use it in calling the Hello.Name function.


Sign in