UNPKG

hackages

Version:

CLI tool for learning software development concepts through test-driven development

19 lines (18 loc) 1.01 kB
import chalk from "chalk"; export function WelcomeMessage() { // Welcome message explaining the platform console.log(chalk.bold.cyan("✨ Welcome to Hackages, where Hack means Education!")); console.log(chalk.cyan("=".repeat(50))); console.log(chalk.white("• Learn software development through hands-on coding games")); console.log(chalk.white("• Write code, run tests, get feedback and iterate")); console.log(chalk.white("• Master technical concepts by doing, not just reading")); console.log(chalk.cyan("=".repeat(50))); console.log(); // Explain what they'll get console.log(chalk.bold.yellow("✨ What you'll get:")); console.log(chalk.white(" • A coding game with clear instructions")); console.log(chalk.white(" • Test cases that guide your implementation")); console.log(chalk.white(" • Code review and feedback to improve your code")); console.log(chalk.white(" • A fun, interactive learning experience")); console.log(); }