Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Object Interaction!
You have completed Practice Object Interaction!
Preview
How can we use objects to model a real-life library in our JavaScript code? Let's put together a rough plan of attack for our library application.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
objects to manage the different
parts of our library system.
0:00
The first thing we'll do is come
up with a rough plan of attack.
0:01
Keep in mind plans always change
as we move through programming and
0:04
app, but that's okay,
0:07
it's still a good idea to have a rough
outline of how you'll lay things out.
0:08
Having a basic plan creates
a good place to start.
0:12
But it's almost guaranteed that as you
get more familiar with the problem or
0:15
challenge, you'll think of
a better way to solve it, or
0:18
a new important feature
that needs to be included.
0:21
With that in mind let's think about a
real-life library, what does a library do?
0:24
How can we translate a library
into a JavaScript class?
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up