+ 1

Please help me to solve this.

Write a program in Javascript which creates a student object. Create some properties of the student object such as Name, Roll No, Age etc. Use prompt method to input and Alert method to display them.

26th Sep 2018, 6:01 PM
ALI HYDER
ALI HYDER - avatar
7 Answers
+ 1
It should be all in the object function. And call that function. https://code.sololearn.com/W8GcdBNr5FBP/?ref=app
27th Sep 2018, 3:40 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
Show me your attempt, I would guide you from there.
27th Sep 2018, 12:03 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
Thank u very much I got it. Again thank u.
27th Sep 2018, 3:56 AM
ALI HYDER
ALI HYDER - avatar
+ 1
https://code.sololearn.com/WERlQX6431so/?ref=app But in second step it is showing undefined along with Roll Number.
27th Sep 2018, 1:37 AM
ALI HYDER
ALI HYDER - avatar
0
Have you any facebook account?
27th Sep 2018, 4:00 AM
ALI HYDER
ALI HYDER - avatar
0
Dont share any social media profile in Sololearn. You could always get me from QnA.
27th Sep 2018, 4:10 AM
CalviŐ˛
CalviŐ˛ - avatar
0
Ok
27th Sep 2018, 4:11 AM
ALI HYDER
ALI HYDER - avatar