What's problem you are encountering?
I'm trying to transfer my code from my compiler to Snap and it doesn't work. What have you tried that didn't work?
I haven't tried anything yet, that's why I'm asking. Post a project example, link, or screenshot:
I don't have a project example, but I can make one in this post.
// Example- The story of Winston.
console.log("The story of Winston.");
setTimeout(function(){
console. log("Winston is born.")
}, 5000);
// Waits for the input time then prints the message.
setTimeout(function(){
console. log("Winston is 1 year old!")
}, 7500);
setTimeout(function(){
console. log("Winston takes his first steps.")
}, 10000);
This is the example. I can't use anything to get it in to Snap! or any of my JS code.
How do I get it in?
No! don't use the alert() command. It'll stop the code until the user presses ok. To use console.log(), just create a global variable, set to a list named "console" then console.log() is just add (input) to (console)
I was just talking about a way to translate console.log() to snap, which is helpful to the conversation, because the original post was trying to translate javascript to snap.
Yeah, it's probably advanced stuff that shouldn't really be on the forum (or at least, in #advanced-topics ).