Building a puzzle…
Choose a size. Every puzzle has exactly one solution; Easy and Medium can be solved with singles only, Hard and Expert need deeper logic.
Fill every empty square so each row, each column and each box (the areas inside the bold lines) holds every digit exactly once: 1 to 4 in the 4×4, 1 to 6 in the 6×6, 1 to 9 in the 9×9. Black digits are given; yours appear in blue.