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!

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) Storing and Tracking Information with Variables The Variable Challenge

Anyone want to provide some feedback? Let me know what I could do better.

Just wondering if anyone has some feedback; I took a few mild bits of leeway.



1 Answer

Steven Parker
Steven Parker
228,025 Points

A clever and fun expansion of the task! Good job! :+1:

And here's a few suggestions for your next project:

  • the "bold()" string method is deprecated (see the MDN page for more details), use CSS instead
  • parentheses are not needed around the right side of assignment statements
  • a recommended "best practice" is to have no space between a function name and the open parenthesis

Thanks a lot; I’ll keep these things in mind for the future :)