JS
JavaScript
hello.jsconst greet = (name) => {
return `Hejka, ${name}!`;
};
console.log(greet("world"));
MADE TO BUILD.
Narzędzia się zmieniają. Ciekawość zostaje.
Tak wyglądają małe początki większych projektów.
const greet = (name) => {
return `Hejka, ${name}!`;
};
console.log(greet("world"));
MADE TO BUILD.
def greet(name: str):
return f"Hejka, {name}!"
print(greet("world"))
MADE TO BUILD.
#include <iostream>
int main() {
std::cout << "Hello, world!";
return 0;
}
MADE TO BUILD.
import { createServer } from "node:http";
createServer((req, res) => {
res.end("Hello, world!");
}).listen(3000);
MADE TO BUILD.
import { Client, GatewayIntentBits }
from "discord.js";
const bot = new Client({
intents: [GatewayIntentBits.Guilds]
});
bot.once("clientReady", () => {
console.log("Bot jest gotowy!");
});
bot.login(process.env.DISCORD_TOKEN);
MADE TO BUILD.
export function Welcome() {
return (
<main>
<h1>Hejka, world.</h1>
</main>
);
}
MADE TO BUILD.
type Developer = {
name: string;
isCreating: boolean;
};
const me: Developer = {
name: "s.crpt",
isCreating: true
};
MADE TO BUILD.
<!doctype html>
<html lang="pl">
<body>
<h1>Hello, world!</h1>
<p>Let’s build something.</p>
</body>
</html>
MADE TO BUILD.
.hello {
display: grid;
place-items: center;
min-height: 100svh;
color: #171717;
background: #fafafa;
}
MADE TO BUILD.
git switch -c new-idea
git add .
git commit -m "Make it happen"
git push -u origin new-idea
MADE TO BUILD.
Twój pomysł. Nasza następna rozmowa.