Skip to content

rame0033/unit-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unit-converter

Unit converter interface

This is a project courtesy of Scrimba - a practice on JavaScript specifically on the use of addEventListener, template literals, and toFixed method.

Goals

  • Built from scratch.
  • Display following the Figma design.
  • Generate all conversions when the user clicks "Convert"
  • Round the numbers down to three decimal places

What I have learned

  • With the use of toFixed() method, I am able to round off numbers in designated decimal places.

  • The use of template literals has been helpful to me to set a template string with the ${} syntax to include the value of the equation inside the string.

About

Project courtesy of Scrimba - built using HTML/CSS/JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published