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

Lesson Feedback%3A Regular Files API - Lesson 3 (Add a file) #883

Open
waldentoo opened this issue Oct 10, 2023 · 1 comment
Open

Lesson Feedback%3A Regular Files API - Lesson 3 (Add a file) #883

waldentoo opened this issue Oct 10, 2023 · 1 comment
Labels
lesson-feedback Feedback on a specific lesson

Comments

@waldentoo
Copy link

Have a question or suggestion regarding a specific ProtoSchool lesson? Please use this template to share it!

URL of the lesson that's confusing:
https://proto.school/regular-files-api/03
What's confusing about this lesson?
im getting: SyntaxError: identifier starts immediately after numeric literal. I'm following exact solutions script. i don't know where to put the title of the file I uploaded. Is this where i need to know javascript? It's a single file so i used/
const result = await ipfs.add(15_15Frame_basicPDF.drawio[0])
i tried with ipfs.addall syntax, i played with syntax for both add and addall.
What additional context could we provide to help you succeed?
there is mention of requiring javascript knowledge somewhere on site. But i feel like i shouldn't have to for this example. maybe a copy paste option for adding file name to exact syntax. Perhaps i'm on crack... i'll keep muckin around :)
What other feedback would you like to share about ProtoSchool?

@waldentoo waldentoo added the lesson-feedback Feedback on a specific lesson label Oct 10, 2023
@waldentoo
Copy link
Author

I tried another file. MEA.pdf is the exact name.
const result = await ipfs.add(MEA.pdf[0])
i tried adding file name to (files) on line 1
i tried (MEA.pdf) , (MEA) , (files[mea.pdf]) , (files[MEA])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lesson-feedback Feedback on a specific lesson
Projects
None yet
Development

No branches or pull requests

1 participant