Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,677 members, 7,801,952 topics. Date: Friday, 19 April 2024 at 06:49 AM

What Am I Doing Wrong - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / What Am I Doing Wrong (1099 Views)

Trying To Connect To Mysql Using Node. What Am I Doing Wrongly? (2) (3) (4)

(1) (Reply) (Go Down)

What Am I Doing Wrong by Nobody: 3:47pm On Oct 13, 2019
I write this code from an app am using to learn JavaScript and it show error on my side but when I clicked it on the app it work

I keep getting this message

Uncaught TypeError: Cannot read property 'flashlight' of undefined

cc Mountainview

Re: What Am I Doing Wrong by stanliwise(m): 5:23pm On Oct 13, 2019
windows.plugins isn't a valid method or a function where did you see such code?
Re: What Am I Doing Wrong by Nobody: 1:56pm On Oct 14, 2019
stanliwise:
windows.plugins isn't a valid method or a function
where did you see such code?

I saw it here I download it so I can learn JavaScript

Re: What Am I Doing Wrong by stanliwise(m): 5:29pm On Oct 14, 2019
ambitiouschap:


I saw it here I download it so I can learn JavaScript
Dont just go around copying codes, as a beginners there are many basic things you should spend your time learning which are variables, array, functions, loops etc I advise you use a complete beginner pdf book.

window.plugin is a custom library and your code will only work if you can link such library to your code and this will be if the developers are willing to give you access to such code.
if you're done learning fundamentals I will advice you start doing your own code and learn more by reading complete codes of open source project e.g JQuery, bootstraps etc

1 Like

Re: What Am I Doing Wrong by Nobody: 5:33pm On Oct 14, 2019
stanliwise:
Dont just go around copying codes, as a beginners there are many basic things you should spend your time learning which are variables, array, functions, loops etc I advise you use a complete beginner pdf book.

window.plugin is a custom library and your code will only work if you can link such library to your code and this will be if the developers are willing to give you access to such code.
if you're done learning fundamentals I will advice you start doing your own code and learn more by reading complete codes of open source project e.g JQuery, bootstraps etc

boss you don confuse me pls guide me through.
I don tire searching Google and playstore. I have w3 school app is that one good?
Re: What Am I Doing Wrong by stanliwise(m): 5:38pm On Oct 14, 2019
ambitiouschap:


boss you don confuse me pls guide me through.
I don tire searching Google and playstore. I have w3 school app is that one good?
- download a java pdf textbook
- study the fundamentals
- learn to code small app by yourself
- learn new tricks from open source code from gitub projects
Re: What Am I Doing Wrong by Nobody: 5:40pm On Oct 14, 2019
stanliwise:

- download a java pdf textbook
- study the fundamentals
- learn to code small app by yourself
- learn new tricks from open source code from gitub projects

will do that when finish with html and css. because I just want to add javascript to it, but nevertheless thank you boss

1 Like

Re: What Am I Doing Wrong by Xandelle: 6:49am On Oct 17, 2019
ambitiouschap:


will do that when finish with html and css. because I just want to add javascript to it, but nevertheless thank you boss

If what you want to learn is programming in the real sense if the word, don't start with web programming. Get your head tuned in using real programming languages like Java. You don't need to learn it to the bits per say. Just to get your head wrapped around programming logic.

Starting with web apps, and in essence html, Css, will get your brain boxed into a corner, and when you want to go into real programming, you will find out that you will want to give up . Download the PDF... Learning programming using Java for the dummy. The dummy series has a lot of books in programming,and they break down things in such a way that a beginner can understand . Weily publishers and O'Reilly publishers really helped my life.

Make sure that learning algorithms and data structures is in your future plans.

1 Like 1 Share

Re: What Am I Doing Wrong by Nobody: 5:09pm On Oct 17, 2019
Xandelle:


If what you want to learn is programming in the real sense if the word, don't start with web programming. Get your head tuned in using real programming languages like Java. You don't need to learn it to the bits per say. Just to get your head wrapped around programming logic.

Starting with web apps, and in essence html, Css, will get your brain boxed into a corner, and when you want to go into real programming, you will find out that you will want to give up . Download the PDF... Learning programming using Java for the dummy. The dummy series has a lot of books in programming,and they break down things in such a way that a beginner can understand . Weily publishers and O'Reilly publishers really helped my life.

Make sure that learning algorithms and data structures is in your future plans.

thanks for the info bro. I Only think about web and app development

1 Like

(1) (Reply)

Which IT Course Can I Study Without Disrupting My Banking Career. / Pack Of Sock5 Proxy Available For Sale! / Hey Guys! What Do You Think?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.