Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the addMaterial() method inside the script.js file #7

Open
Apache-ghost opened this issue Oct 10, 2024 · 4 comments
Open

Updating the addMaterial() method inside the script.js file #7

Apache-ghost opened this issue Oct 10, 2024 · 4 comments
Assignees

Comments

@Apache-ghost
Copy link
Member

I want that when the user click , on the add material button , the data should be save on the data.json file .

@stg2209
Copy link
Contributor

stg2209 commented Oct 11, 2024

Can I be assigned this issue ?

@stg2209
Copy link
Contributor

stg2209 commented Oct 11, 2024

The data can't directly be written into local file data.json just by using vanilla js ( without any backend support like maybe nodejs). for the time being, can i just save it to localstorage and for displaying the materials it can fetch from data.json and localstorage both ?

@stg2209
Copy link
Contributor

stg2209 commented Oct 12, 2024

I haved opened a PR (#13), can you atleast view the solution once.

@Nde-Dilan
Copy link
Member

Reallly sorry for the delay, you did a great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants