Product Label
Build a JavaScript function that accepts a product object and returns a formatted label using its name and price properties.
JavaScript
Challenge overview
- Format
- Build a Function
- Category
- JavaScript
- Difficulty
- Beginner
javascriptobjectsfunctionsproperty-access
Keep practicing
More coding challenges
Python · Beginner
Product Label in Python
Build a Python function that accepts a product dictionary and returns a formatted label using its stored name and price values.
View challengeJavaScript · Beginner
Product Labels
Build a JavaScript function that uses map() to turn product objects into formatted price labels while preserving their original order.
View challengeReact · Intermediate
Refactor the Notification Settings
Refactor repeated React notification rows into one reusable component while keeping state in the parent and preserving every toggle and reset behavior.
View challenge

