Unlimited Wordpress themes, plugins, graphics & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:6Length:49 minutes
  • Overview
  • Transcript

2.2 Initializing the Tour

For this project, I’m going to use an object-oriented approach. It’s not necessary that you do the same (you can write the JavaScript in whatever manner you’re comfortable with), but an OOP approach will allow for better separation between the tour-specific code and the rest.

You can find more details about object-oriented JavaScript in the links below. Now, let’s start by declaring the tour class.

Related Links