Knitting is a relaxing hobby once you learn the basic knit stitch. A scarf is a suitable project for practicing the knit stitch, and knitting a striped scarf is not as hard as it looks. As a beginner, use two colours. As you become more confident in your knitting skills, you can always add in more colours. Choose your favourite colour combination and get started.
Cast on 30 stitches with one colour. The width of the scarf isn't that great, but it will still cover your neck. For the striped scarf, use a knit stitch. The depth of the horizontal stripes is up to you. You even could change colours every other row if you want. Knit about 15 rows of 30 stitches (you can increase or decrease the number based on personal preference). Remember to occasionally check the number of stitches you have on your needle. If you find yourself with an increased of decreased number of stitches, your scarf will become wavy.
Change over to your next colour. Complete your 15th row and cut the yarn of the original colour, leaving a few inches for a tail (this yarn will be worked into the scarf later). Grab your new colour, leaving a few inches for a tail (once again, it will be worked into the scarf later), and begin to knit the next row with the new colour. Hold the tail of the first colour with the new yarn and be careful to loop the new stitch with the new colour yarn.
Knit another 15 rows with the second colour and then change back to the first. Count your rows so your colour blocks are always equal. Continue like this (switching every 15 rows) until the scarf is the length you prefer.
Bind off your last row. You will have a lot of tails on the side of your scarf from the colour changes. Thread a needle with the remaining yarn and, on the back side of the scarf, weave them in by tucking the strands into the stitches closest to the edge.
Your first scarf isn't going to be pretty, so silence your inner perfectionist and remember it is a learning experience.
Don't cut your tails too short, or your work may come unravelled.