/unit-converter

A basic Javascript app that converts the most common units of measurements

Primary LanguageJavaScript

unit-converter

A basic Javascript app that converts the most common units of measurements

Main techniques used:

  • Manipulation of the DOM Used the document.querySelectors to select all the elements that will be manipulated. Use of .addEventListener to make button interactive.

  • Use of functions Use of basic functions, create a let variable with maths to calculate the units

  • Use of template literals Extensive use of template literals to insert content into the DOM.