To spell a word in hiragana, you need to know how to pronounce it. Each hiragana character represents one mora, which is a sound unit in Japanese. For example, the word "こんにちは" (konnichiwa) is spelled as "こ ん に ち は" in hiragana.
To spell a word in katakana, you need to know how it is spelled in its original language. For example, the word "computer" is spelled as "コンピューター" (konpyūtā) in katakana.
Here are some examples of how to spell words in Japanese:
Hiragana
* あめ (ame) - rain
* おかし (okashi) - snack
* さかな (sakana) - fish
* つき (tsuki) - moon
* ねこ (neko) - cat
Katakana
* パソコン (pasokon) - personal computer
* ハンバーガー (hanbāgā) - hamburger
* カメラ (kamera) - camera
* アイス (aisu) - ice cream
* テーブル (tēburu) - table