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
201,957 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 :)