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 Basics (Retired) Creating Reusable Code with Functions Random Number Challenge

Billy Chui
Billy Chui
6,852 Points

is my code too simple?

Hi there, i am a beginner, can i please get some feedback regarding to my code. https://w.trhou.se/beq5byv4wo

3 Answers

Luis Villalobos
Luis Villalobos
7,831 Points

The simpler the better. Simplicity is best as it avoids buggy code. So long as your code is reliable and maintainable, you are getting the job done. Keep it up!

i liked your "clean code". I took a look at your random.js file and index.html file and found them well written.

Melvin Ray
PLUS
Melvin Ray
Courses Plus Student 6,312 Points

Your code looks great! It's easy to read and, hence, easy to maintain. It's also just long enough to get the job done. That is ideal!