Help your child practice logical thinking and early writing skills with this write the code worksheet.
In this activity, children look at the color key and write the correct number for each color.
This worksheet introduces rule based thinking in a simple, screen free way while also supporting number recognition and writing readiness.
What’s Included in This Worksheet
This write the code worksheet includes:
- A color–number key displayed clearly at the top of the page
- Four colors used consistently throughout the worksheet
- Five problems, each showing four colors
- Large writing spaces designed for early number writing
- A clean, uncluttered layout that supports focused work
Children apply the same rule across all problems, building confidence through repetition.
How to Use This Worksheet
- Review the color–number key together before starting.
- Ask your child to name each color aloud.
- Have them write the correct number for each color.
- Encourage slow, careful writing and checking the key as needed.
- Review the completed problems together and talk about the rule used.
This worksheet works well with pencils, crayons, or washable markers.
Skills This Worksheet Supports
Write the code activities help children develop:
- Logical thinking
- Rule following
- Number recognition
- Early writing skills
- Fine motor coordination
These skills form an important foundation for early math and classroom readiness.
Who This Worksheet Is For
This worksheet is suitable for:
- Preschool classrooms
- Kindergarten readiness practice
- Homeschool learning
- Early learning centers
- At home practice with parents
Numbered worksheets allow children to complete activities in any order.
Download the free PDF below and let your child enjoy writing numbers by following color rules in a fun, hands on way.
Find more printable logic and coding activities in our Color Coding Activities Collection.








