Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Node.js
0/50 solved · 0%
All lessons
lesson
code
Foundations · easy
13. Hex to Number Converter
Convert 0x strings to integers.
Write `hexToNum(hex)`.
Required in your answer:
parseInt
16
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function hexToNum(hex) { // TODO }
Output appears here.
← 12. Transaction Status Mapper
14. Auth Header Builder →