Created
September 10, 2019 10:12
-
-
Save dianajoan/973038eeb517adaf3556d97b1c137248 to your computer and use it in GitHub Desktop.
September 2019 [ Week 2 ] - CodePenChallenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function score (){ | |
var num = parseInt(document.getElementById('counter').value); | |
var newNum = parseInt(prompt(`${num} multiply by:`)); | |
alert(`Answer: ${num} x ${newNum} = ${num*newNum}`); | |
} |
This is a multiplication calculator.
A Pen by Diana Joanita Nakyazze on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form | |
border: thin solid blue | |
width: 300px | |
padding: 10px | |
margin-left: 40% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment