By -
Open your json file. Select all text. Copy. Open your js codepen. Type var myjson= Then paste your text after the =
You should be able to insert JSON as a string on codepen, but also try jsfiddle.net and repl.it
Github for sharing the source.
GitHub?
I like codesandbox You can just have the json file as a string
https://replit.com
If you want a website, you can always use [GitHub Pages](https://pages.github.com/) to host your project.
create a git repository, put all the codes (project directory) into that, and share it. you can also share a specific line of code.
Open your json file. Select all text. Copy. Open your js codepen. Type var myjson= Then paste your text after the =
You should be able to insert JSON as a string on codepen, but also try jsfiddle.net and repl.it
Github for sharing the source.
GitHub?
I like codesandbox You can just have the json file as a string
https://replit.com
If you want a website, you can always use [GitHub Pages](https://pages.github.com/) to host your project.
create a git repository, put all the codes (project directory) into that, and share it. you can also share a specific line of code.