I am Java programmer. I write code in Java from about 1 year. I know JSP, Java swing, mysql, Design pattern, HTML and CSS. But when I sit down to code, I don't know what to write? It makes me feel boring when I do the same things again and again.
You sit down and don't know what to code on. To be able to answer what you should work on, we must take a look at your motivations. Why do you want to code? Is it because you want to get skills to be able to get a certain type of job? Is it because you have an idea you want to realize? Or something completely different?
When you have formulated why, you have to define a path how to get there. What subtasks do you have to complete? What do you have to learn? What do you have to create?
After doing this little exercise, things might become a bit more clear what you should work on.
Hope this was helpful. Don't hesitate to ask if you have some questions :)
Atul Sharma
Full Stack Developer | Cloud Native Applications
Practice Practice & Practice. Practice makes a good programmer.
If you don't get enough of programming in Office (If working) start your own side projects work on them after office hours, or on weekends.
Read code, a lot of code..Find repo/ project (GitHub) that interests you .. read its code, understand how the problem is solved.
If you need some more dose of programming start solving competitive programming puzzles.