There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
On the part where you create the $scope for the book price and display it.
The class=“price” will display it in the top right corner of the window and it is being blocked by the builtin web address bar.
just in case anyone missed it when they added the expression {{product.price}} to their html file.
Update: After I refreshed the page and followed the steps again. The price placed itself in the correct position. Hmmm…
As we know, all index citings in JS are zero-based.
Note: The argument monthIndex is 0-based. This means that January = 0 and December = 11 .
There is some other weirdness that needs to be accounted for. This is not a simple object to immediately master the use of. If anything, it is complicated and frustrating until we iron out all the wrinkles in our approach. Expect to come back to this over and over again, so keep your hair on!
f = new Date('1995-12-17T03:24:00')
Sun Dec 17 1995 03:24:00 GMT-0700 (Mountain Standard Time)
f = new Date('1995-12-17')
Sat Dec 16 1995 17:00:00 GMT-0700 (Mountain Standard Time)