I would like to learn some Javascript to help me complete a home project which involves a data entry form where I can enter in expenses.
Here is a sample that behaves fairly close to what I need to enter an undetermined number or “Order Details”…
(Forum won’t let me post a link yet)
www . iamramraj . com/demo/How_to_Add_and_Remove_Table_Rows_Dynamically/index.html
How difficult is it to code something like that?
What technologies would I need? Could I just use plain old Javascript?
camperextraordinaire:
If you want to see the code for a web page, you can simply right-click on the page (in Chrome) and click View Source to see the code. Once you do, you will see the site is using the jQuery library and the Bootstrap framework and all the JavaScript code needed to make it work.
I’ve had others discourage me from using Frameworks and Libraries because they obfuscate learning Javascript.
Plus, hacking existing code isn’t a great way to learn in my opinion.
If I were to code the example in the link i posted above, could I do that with pure Javascript?
And how hard would that be to code?
And how quickly could I learn to code that if I started on page 1 of your tutorial?
camperextraordinaire:
You can’t have it both ways. Your other thread indicated you do not want to learn JavaScript. Based on your other thread, I gathered you just want to figure out some code to accomplish a specific task. That is not learning. That is hacking.
That is NOT what I said…
I said I want to learn Javascript and AVOID frameworks and libraries at this point.
I also said that i do not want to learn the entire Javascript language if learning a portion of it will do for now.
If your goal were to learn how to style hyperlinks as red underlined on a webpage using CSS, would you spend time learning grid layouts in CSS? (That would be a waste of time.)
That is all I said.
camperextraordinaire:
I already answered this question in my previous reply to this thread. The answer is yes.
Okay.
camperextraordinaire:
That is going to depend on how well you understand JavaScript.
I have know idea, because I don’t have any way to know how quickly you will pick up on JavaScript. Also, Free Code Camp is not a comprehensive study of the JavaScript language.
It teaches just enough so that you can know how to search for the things you have not been directly taught how to do. There is no tutorial site out there which will teach you everything there is to know, but you can learn how to search for specific functionality on sites like MDN to fill in the blanks.
How does this tutorial differ from a Javascript book (e.g. “Teach Yourself Javascript in 24 Hours”)?
Does the free Code Camp have some innovative way of teaching Javascript, or is it more of the same - other than being free and publicly accessible, of course.
An active online forum can be a lifesaver - with or without a book to go along with it.
In the “old days”, the Internet was full of active user communities where you could get tons of help, make friends, and be part of something larger.
Those days are all but gone online…
My hope is that freeCodeCamp is a throwback to better times, and a way for me to speed up learning, and also give back.
1 Like
Yes you can use plain JavaScript only because today’s JS is mush stronger that what it used to be some 5 years back.
So how hard would it be to learn how to create a dynamic subform like the link I posted above?