Daily JavaScript Coding Challenge

Sharpen your programming skills by solving a new JavaScript coding problem everyday!

Ends In: --:--:--
Solution Available In: --:--:--
Jul
24
2026
Easy 50 Points

JavaScript Check Positive Number

Write JavaScript code to check if variable n = 10 is positive and print "Positive".

Input Format

No input.

Output Format

Positive

Constraints

Use if statement.

Examples

Example 1:
Output:
Positive
Explanation: 10 is positive
JavaScript
Theme:
Console Output
Press 'Run Code' to execute your program against the sample test cases.
Enter Submission Details
Hints Available
  1. if (n > 0) console.log("Positive");
Challenge Completed!
🎉
🚀
🔥
🌟
🎊
🏆
✨ Daily Coding Challenge ✨
🎉 SUCCESSFULLY SOLVED 🎉
User Name
from Location
JavaScript Check Positive Number
Success Card
Generating your shareable success card...
Official Solution
Go Back Top