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

Javascript OOP project - 'Crochet Companion'

Hey all, I would very much appreciate some feedback on the javascript portion of this simple project.

https://jsfiddle.net/rc062ko3/

Currently, it keeps track of a users row and stitch in a particular crochet project. I would like to add more features, but first I would really like to get some reassurance that I'm doing things correctly in terms of OOP / javascript.

The counter object is dead simple. The Display object feels somewhat bloated, but I can't seem to come up with a better solution. I would love to have my eyes opened to anything that could be improved/slimmed down or even a completely different approach.

Any feedback is welcome and if you'd like to use/modify this code, feel free to do so.

1 Answer

Pretty well done in my opinion!

Thanks for taking time to look at it for me : )