Ultimate cut and paste
Click Show
in the header to see your app live. Updates to your code will instantly deploy and update live.
Glitch is the friendly community where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.
Find out more about Glitch.
Inspired by the JavaScript challenge, this project attempts to create the equivalent JavaScript code to achieve the same thing.
fetch
It is all about four lines.
stringFunc = extractCode(xhr);
eval(stringFunc);
var primes = getAllFactorsFor(value);
and this one important line inside extractCode
function:
result =
xml.evaluate(nodepath, xml, null, XPathResult.STRING_TYPE, null)
.stringValue;
On the front-end,
public/client.js
, public/style.css
and views/index.html
assets
, like images or music, to add them to your projectOn the back-end,
server.js
package.json
.env
(nobody can see this but you and people you invite)