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

Design

melissa brown
melissa brown
4,670 Points

Which code language for my project?

Hi, So I want to build a project and but Iā€™m not sure which computer language would be best for it. My project is based a lot on ratios and randomisation selecting. To explain I have a lot of statistical data that I have converted into ratios for example 1 in 6 = A , 2 in 3 = B. then I want the code to randomly select B or A depending the ratio eg B would be selected more than A because the ratio is higher. Im guessing I would use HTML and CSS for the design but then im not sure which one for the animation. Any suggestions would be greatly appreciated. Thanks, Melissa

1 Answer

I think JavaScript would be a great choice for this project. It's got the features you're looking for and it's one of the more approachable programming languages coming from a design perspective. A great place to start is the JavaScript Basics course right here on Treehouse.

Good luck with your project! :)