JSFiddle - React, Tailwind, and code Playground
by SwampFall
HTML
<input type="text" id="input"><br>
<button onclick="run()">
Run
</button>
<div id="output">
</div>
CSS
oki save this code somewhere :o
if you want you can try the fibonacci thing on ur own someday :o
idk save it in a text file somewhere xD
oh wait
https://jsfiddle.net/SwampFall/1xsmhr5q/68/
you can use this link I think
oki ^^
I'll send the link in palpad too xD
JavaScript
var input = document.getElementById("input");
var output = document.getElementById("output");
function run() {
var N = parseInt(input.value);
var sequence = 1;
for (var i = 0; i < N; i++) {
sequence = sequence * 2;
}
alert(sequence);
}
hmm, I can try xD
Expect some random stuff
I gotta go :c I have to get ready to drive to sweden, so ye >.<
Hahah xD
How do I save it? xD
hmm, I'll just take a screenshot xD
Screenshotting just it case the link doesn't work cx
Hahah, thanks xD
Byee ^^