#3 User Input in JavaScript | JavaScript for Beginners Course

preview_player
Показать описание
A data types are declaration for variables. This determines the type and size of data associated with variables.

In this video, we will learn about two different types of data: text and numbers which are commonly used in programming. We will first see how we can print these data. Then, we will learn a concept called variables which allows us to store these data and work with them. Watch the full video to have a clear understanding.

~

Timestamps:
00:13 Take Input in JavaScript
03:19 JavaScript Number Input
07:35 JavaScript float input
09:33 Error When Using paresInt() and parseFloat()
11:07 Programiz Quiz

Find Programiz elsewhere:
---------------------------------------------------

#3 User Input in JavaScript | JavaScript for Beginners Course

#javascript #input #programiz #learnprogramming
Рекомендации по теме
Комментарии
Автор

Q. What is the type of the ‘number’ variable ?

const number = prompt(‘Enter a random number’);

console.log(typeof(number));

1. number

2. string

3. NaN

4. undefined

programizstudios
Автор

So underrated. I have watch many video's, but you make it easy to follow te steps. I follow course Fullstack developer and I had to do a task with prompt. Done!! Thank you . Subscribed

yazzy
Автор

I watched c language tutorial by Padma manandhar.
And now started JS.
And it finishes just it gets starts. 😁
Why i feel about padma mam like she is just a video presenter not really an experienced software engineer.
Punit Sir, you should hire some experienced software engineers for video tutorials.
Lots of love for your effort and struggle from Pakistan.

adilkhan
Автор

On the Programiz online compiler, the prompt keyword returns an error. "Cannot find Module: 'read-line sync". Please help

adebayofati
Автор

I'm taking input in same manner as you are taking with const keyword but in my case it doesn't work. It throws error of "Cannot find module 'readline-sync' ".

MuhammadZeeshan-cdyd
Автор

Please upload more video in this topic we are waiting

ABHIJITKARMAKARrkmania
Автор

hello, the prompt function is again not working.

Muhammad.bduah
Автор

hello if you there please cheek your complier from your website you don't know ifs working or not when i type what you said it says error

kvaravindn
Автор

Do you offer any bootcamp on frontend developer course

ppfx
Автор


throw err;
^

Error: Cannot find module 'readline-sync'
at
at Function.Module._load
at Module.require
at require
at Object.<anonymous> (/tmp/EPWCuhP81z.js:1:14)
at Module._compile
at Object.Module._extensions..js
at Module.load
at tryModuleLoad
at Function.Module._load

Seattle.Eastside.Aerials
Автор

may i know where is the quiz link please let me know

monikahj
Автор

We've fixed the issue of prompt function not working.

Thank you to our users for reporting it.

programizstudios
Автор

parse int or other code that u wrote are not working on vscode

safarnamawithdips
Автор

Don't use lord buddha's statue as decorating item. Your tutorial is great.

chethiyaprasanga
Автор

while using prompt in code it showing me this error:
at Object.<anonymous> (HelloWorld.js:1:13)
at Module._compile
at Object.Module._extensions..js
at Module.load
at Function.Module._load
at [as runMain]
at

laxmanpeddi