Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Is there a lesson in Treehouse on how to make a Shopping Trolley application using JavaScript?

I am creating a website that uses a Shopping Trolley. I only need to know the Front End part of the process, and I want to make it using JavaScript. Just to be clear the languages I want to use are HTML/CSS and JavaScript

1 Answer

Not that I know of but making a shopping Cart isn't to hard.

All you will need is a cart class, a product class and a session to store the products in the products in the cart.

Even though I don't know how experienced you are I would suggest using ASP.NET or PHP for making something like this as it is easier to communicate to a databse through ASP.NET or PHP in my opinion and both of them are serializable to JSON