N341 JQuery

Using parseInt()

The .parseInt() function converts a string to an integer. This is important when user input is collected as a string but needs to be used for mathmatical formulas.

html

css

JavaScript