How do i send/receive files with pure JS?

You have to use filereader functions
The reason I didn’t provide them is because you can read the files in multiple formats
As txt, as data url, etc
And use .result to see the result

Replace https://www.example.com/ with an actual website!

that is not what I'm showing

it says that "data" is not defined

HTML Runner script pic (1)
You can change were it ends .html to .txt this is from my game HTML Runner: Snap! 6.8.1 Build Your Own Blocks (berkeley.edu)

This will help you:


To view the blocks and see the code of the selected blocks, please follow this URL:
https://snap.berkeley.edu/snap/snap.html#present:Username=alessandrito123&ProjectName=Proyecto%20Experimental%20para%20Todos

Er, there in a different language. It would be awesome if you translated it. :~)

Ok, but please read this post of me and why: My first and the best project I made for Snap!

This doesn't explain anything to me. Could you be a bit more descriptive?

Could you please translate the blocks into english?

Probably, but the experimental translations button is inestable for me :slightly_frowning_face:, please check this post:
https://forum.snap.berkeley.edu/t/my-first-and-the-best-project-i-made-for-snap/6887/17

Just use translate.google.com

Yes, but the user will only need to switch language once in their entire time on Snap! and a cookie is made to remember language preference.

Here is a translation: Snap! 6.8.1 Build Your Own Blocks
(I did about 2/3 of it myself. The other 1/3 I used Google Translate.)

Wow, your project is awesome, thanks for translating my blocks. :relieved: :wink: :sweat_smile:

Your welcome. It wasn't that hard actually! It was pretty easy, because I pretty much new all of the spanish words for your system, and the ones I didnt know I looked it up on Google Translate and commited them to memory. Thanks to you, ive learnt some more spanish! And next time when you do something like this, ive got some tools that might help you:
https://snap.berkeley.edu/snap/snap.html#present:Username=joecooldoo&ProjectName=BETA%20Testing%20Blocks
P.S. Do you also speek English? Or do you translate your messages?

Oh thanks. I should copy my project, and then modify it but without using the translate button, and also, I also spoke English since I was almost 1 year old when my mother made me learn those 2 languages ​​(Spanish and English) and so did I. I can translate the texts, but since I also know the English language, then I will only need to duplicate or copy it, and then, simply translate it into English by only modifying the text without the need to translate it, and also, I already have some blocks that have a code pretty much like any other person's block. :wink:

These are rally cool, thanks for translating btw!

Jens goes :angry: at you JS guys.

how would you know that???

it's happened before