CodingNic

Build the Currency Converter

From Static Fields to a Working Converter

Build the Currency Converter 5 min read

From Static Fields to a Working Converter

The project now has shared currency state and navigation. In this module we make the Convert view actually respond to data and user input.

What you will build

  • formatting and safe local storage helpers
  • custom currency dropdowns
  • the converter update cycle
  • swap, convert, and Favorite-pair interactions

Checkpoint

Selecting a currency or changing the amount should immediately update the receive amount and displayed rate.

Next, we will turn the same data model into a market-rates view.