Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Conversion Checkout

A checkout form supplied numbers as text. Turn them into a total and receipt code.

Your task

Use the supplied values to display:

Total: 36 Receipt: 2026-JS

Convert priceText and quantityText before calculating total. Convert receiptNumber into receiptText, then use it to build receiptCode.

Hint

Convert the values before calculating or joining them.