₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,479 members, 8,445,660 topics. Date: Wednesday, 15 July 2026 at 11:01 AM

Toggle theme

Javascript Programmers: Your Help Is Needed Here Please - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingJavascript Programmers: Your Help Is Needed Here Please (963 Views)

1 Reply

Javascript Programmers: Your Help Is Needed Here Please by salvationproject(op): 8:37pm On Oct 15, 2019
I can work with HTML, CSS and a bit of JS and PHP.

I started learning c, c++, java and others but i don't like how they work since they are not straight-forward with their interface design like HTML and CSS.

Now, some weeks back, i learnt HTML, CSS and JS can be use in creating applications and as such, i want to focus in this aspect of applications.

cout<<"Enter the number of integers to be calculated:\n";
cin>>n;
for (c = 1; c <= n; c++)
{
cin>>values;
}
With the c++ code above, a user can enter the number of integers to be calculated e.g 4 and input space for 4 integers will be made available to accept the four inputs.
My question is "How can i do this in JS e.g create an HTML form that will accept the number of input field to display and on clicking "next", the number of form field as requested by the user will appear"?

Help pls...
Re: Javascript Programmers: Your Help Is Needed Here Please by kensmoney(m): 7:39pm On Oct 16, 2019
salvationproject:
I can work with HTML, CSS and a bit of JS and PHP.

I started learning c, c++, java and others but i don't like how they work since they are not straight-forward with their interface design like HTML and CSS.

Now, some weeks back, i learnt HTML, CSS and JS can be use in creating applications and as such, i want to focus in this aspect of applications.


With the c++ code above, a user can enter the number of integers to be calculated e.g 4 and input space for 4 integers will be made available to accept the four inputs.
My question is "How can i do this in JS e.g create an HTML form that will accept the number of input field to display and on clicking "next", the number of form field as requested by the user will appear"?

Help pls...
You can use form, <input type=" text " id="num" >
Then, use DOM to get the values like var num =document.getElementByid("num"wink.value; with this u can do what so ever u want. Another option is
Use window object called prompt()
var num = prompt("Please enter a value"wink;
Etc u can still still google it
1 Reply

Django And Flask Users, Your Help Is Needed PleaseMobile Technology: Lets Build A Mobile App With JavascriptPython Programmers Lets Meet Here!!!234

I Need To Recover My Hacked BlogHow Much Should A Nigerian Developer Charge For A Betting App?Dreamweaver Mx