JavaScript Objects- Can you confirm?
It looks like you're not following the instructions strictly. For example, here:


  1.Write a line of code using the Location object to return the uniform resource locator (URL) of a Web page to a variable called myWebPage.


You didn't write a line of code, you wrote two, and you alerted the value instead of assigning to the variable. You also used a function, where the requirements do not include a function. I think the instructor is expecting something like this:

var myWebPage = window.location.href;