Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

input js

var answer = prompt("Ask your question here");
Comment

input in javascript

let input_first  = Number(prompt());
let input_second = Number(prompt());
let sum = input_first + input_second 
alert("here is the sum " + sum);
Comment

javascript input

const x = prompt();
Comment

input in js

var answer = prompt("Question")
Comment

PREVIOUS NEXT
Code Example
Javascript :: react lazy load suspense 
Javascript :: mongoose connect 
Javascript :: iterate through an array 
Javascript :: define a class in javascript 
Javascript :: javascript require 
Javascript :: how to open a new browser window using a .bat 
Javascript :: javascript promise 
Javascript :: make a file downloadable in react 
Javascript :: mdbootstrap react 
Javascript :: jest debugger node 
Javascript :: separate last character string javascript 
Javascript :: js hoisting 
Javascript :: javascript hide elements by class 
Javascript :: config mode en webpack 
Javascript :: nodejs generate ethereum address 
Javascript :: deleteone mongoose 
Javascript :: js use restrict 
Javascript :: Uncaught TypeError: $(...).jstree is not a function 
Javascript :: round number to 2 symbols after comma 
Javascript :: jquery do something if toggle open and close 
Javascript :: what is redis used for 
Javascript :: add 1 year to given date in javascript 
Javascript :: execute command javascript 
Javascript :: jquert toggleClass condition 
Javascript :: remove specific item from array 
Javascript :: toggle text on click in angular 
Javascript :: Change the text inside the <p tag: 
Javascript :: react router lazy load 
Javascript :: generate angular component in a folder 
Javascript :: angular material button align left 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =