Message from JavaScript discussions

December 2020

— So is there a way to save the added fruit & calories in my JS array & object?

— 

What do you mean with "save"? temporarily? permanently? From the front-end alone you cannot "save" files or to db. But you can request an API to do it for you. So the backend needs to take care of that. There are also serverless services, that allow you to write stuff without needing to host a backend

— If you just want to add an object to an array temporarily (as part of an app) you can simply do myFruits.push({kcal: 223})

Message permanent page

— I want it permanently. Maybe it's unusual but the app would be only for personal use

— If the app is only local you might as well use cookies or localStorage.

— Maybe he wants to save related data to server?

— If not have your own server, you can only store it in your browsers local/session storage

— Hello guys

— Nohello.com ;)

— Https://www.monkwhocode.com/2020/12/data-structure-problem-1implement-queue.html

— Am I the only one that writes the whole question and then cuts it? I then send "hi" or whatever, wait for response and paste

Message permanent page

— Say your word.. was banned from black wordpress chat without a reason🤤 there are more, but mindset is too low, not interesting stuff.. similar to php chats

Message permanent page