Комментарии:
i was having trouble while installing express in the form directory, it was removing all the npm node modules. in that case i reinstalled nodejs in my computer then i deleted the form directory and then inside downloads folder i made a new folder and inside that folder i installed the express module with this command: "npm install express --save". then everything worked fine and i was able to continue.
ОтветитьYou have made this more complicated than it needs to be by including Bootstrap code. Not to mention that you're not using VS Code but some random text editor this time. Talk about consistency.
Ответитьuse app.use(express.urlencoded({ extended: true }));
Ответитьhow to open a text editor
ОтветитьSir you need to update the code as we are getting undefined or blank, so we need to add below in our code
const bp = require('body-parser');
app.use(bp.json());
app.use(bp.urlencoded({extended:true}));
Turn off the background music next time please
ОтветитьCreated same setup but I get no data returned. You need to post your code and ensuare your up to date.
ОтветитьGreat video but I wish you turned of the background music. It makes it more difficult to understand and enjoy your content.
Ответитьcan you show how to post this form data in a postgres table?
ОтветитьHey I tried the same code but it's showing {} and not the output
Ответитьyou finally revealed your voice!😂
ОтветитьThank you so much dear..
Your voice is so nice...
Thanks 👍
ОтветитьThank you for creating this tutorial
Ответить