The browser storage localStorage is not available. Either your browser does not support it or you have disabled it or the maximum memory size is exceeded. Without localStorage your solutions will not be stored.

Overview

Here you find all exercises. Unsolved exercises are red, solved green. With click or touch you navigate to the exercise. Reset JS Hero with the button below. All exercises will be red and you can start JS Hero again.

1. Variables 2. What is x? 3. Several variables 4. Reassignment 5. Assign variables 6. Functions 7. Multiple functions 8. Function calls 9. What is x? 10. Parameters 11. What is x? 12. Strings 13. What is x? 14. What is x? 15. Logging 16. Logging variables 17. Logging and Strings 18. Silent Teacher 19. String: length 20. String: toUpperCase() 21. String: charAt() 22. String: trim() 23. String: indexOf() 24. String: indexOf() with from index 25. String: substr() 26. String: replace() 27. Numbers 28. Increment 29. Fahrenheit 30. Modulo 31. Parentheses 32. Math 33. min and max 34. Math.PI 35. Rounding 36. Random numbers 37. parseInt 38. Boolean 39. NOR 40. XOR 41. Strict equality 42. Three identical values 43. Even numbers 44. Strict inequality 45. Compare numbers 46. if 47. Two returns 48. if...else 49. else if 50. Arrays 51. Get array elements 52. Set array elements 53. Array: length 54. Sorting arrays 55. Array: shift() and push() 56. Array: indexOf() 57. Array: concat() 58. Array: slice() 59. Array: join() 60. Array of arrays 61. Comments 62. undefined 63. null 64. for loop 65. Factorial 66. Loops and arrays 67. while loop 68. do...while loop 69. gcd 70. break and continue 71. Nested loops 72. The arguments object 73. NaN 74. String: split() 75. Functions call functions 76. Recursion 77. Roman numerals I 78. Roman numerals II 79. Project Euler 80. To be continued ...

Do you really want to reset JS Hero?