SHARE

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/node-js-playlist
+ Atom editor – https://atom.io/

———————————————————————————————
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage…

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

============ CSS for Beginners Playlist =============

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

================== Social Links ==================

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

23 COMMENTS

  1. I'm getting this error

    Error: Failed to lookup view "todo" in views directory "C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masterviews"
    at EventEmitter.render (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibapplication.js:580:17)
    at ServerResponse.render (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibresponse.js:1008:7)
    at C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-mastercontrollerstodocontroller.js:6:13
    at Layer.handle [as handle_request] (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterlayer.js:95:5)
    at next (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterroute.js:137:13)
    at Route.dispatch (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterroute.js:112:3)
    at Layer.handle [as handle_request] (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterlayer.js:95:5)
    at C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterindex.js:281:22
    at Function.process_params (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterindex.js:335:12)
    at next (C:UsersAmitDesktopnode-js-playlist-masternode-js-playlist-masternode_modulesexpresslibrouterindex.js:275:10)

  2. If anyone has problems with the `Add item` button being below the input field – change the float parameter of the button in css to float:right and slightly decrease the width of button or the input field

  3. Hi, after going to localhost:3000/todo, I get an error stating that 'no default engine was specified'. What should I do to get back on track? I've watched the tutorials over and over to see if I mistyped anything but everything is exactly as shown. Help please!

    PROBLEM SOLVED: I had 'view-engine' instead of 'view engine'. One dash broke my code lol

  4. Just a comment for the jquery part. Instead of pointing to an external url, you could use bower to fetch it and put it in the application itself.

  5. If you've got the todo-list.js not working porperly, copy and paste the following code to your todo.ejs file:
    <head>
    <title>Todo List</title>
    <script
    src="https://code.jquery.com/jquery-3.2.1.min.js"
    integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
    crossorigin="anonymous"></script>
    <script src="/assets/todo-list.js"></script>
    <link href="/assets/styles.css" rel="stylesheet" type="text/css" />
    </head>

  6. app.use(express.static('./public')); is giving me a 404 error for style.css in console. Had to use from your other tutorial app.use('/assets', express.static('assets')); to get it working. Anyone know why the first code would be sending a 404 error. Thanks!

  7. I was able to do all of your tutorials and greatly appreciated your in depth explanations of the topics. However Im guessing that I am missing a package? How can I trouble shoot this?

    module.js:457
    throw err;
    ^

  8. How are you getting atom to autocomplete the HTML tags? I've looked at apm install autoclose-html (that says it cannot be found); and others have commented that there's an autocomplete setting (which also I cannot find).

  9. You don't have to restart the server after changing CSS or HTML. 🙂

    Thank you for these videos, i enjoy them! Keep up the great work! 🙂

  10. nice, any chance you can upload the zip file so i can see if my node js is working? i see the github but dont know what todo with the files, im nooby at node js lol

LEAVE A REPLY

Please enter your comment!
Please enter your name here