smaldonado1326 / effective-lamp-sam01

https://effective-lamp-sam01.onrender.com/
https://smaldonado1326.github.io/effective-lamp-sam01/
GNU General Public License v3.0
0 stars 0 forks source link

iss13 #14

Closed smaldonado1326 closed 3 weeks ago

smaldonado1326 commented 3 weeks ago

Closes #13

Added update/delete functionality to index.ejs/main page to allow my inputs to be posted to MongoDB via updating forms in index.ejs.

Created function in app.js "app.post( /saveConverted)" to allow my string input to be saved as a post and updated index.js to point to this function.

Simplified script.js: App would not convert or create a post when string input was in kebab case. Removed the convertToKebabCase function.