What is the best way to practice coding?

Advertisement

There are two methods you can use to practice coding. These are:

1) Practice coding by building projects

Projects are the backbone of any coding practice. Most people (if not all) are learning to code so that you can build something useful with the new skill. You can build a project in any of these 4 categories:

    • Step by step tutorial projects

  • This is basically a project-based tutorial. They are the easiest projects for any beginner. You build a project by following a tutorial of someone else building the project.

    • Replication projects

  • In these kinds of projects, you pick a website or an app and try to make a similar version of it.

    How to replicate a website or app

    1. You pick a website or app that you want to replicate.
    2. You can take a screenshot of the website using one of these screenshot tools that takes a screenshot of the whole website and not a and save it as an image.
    3. Note down the features of the projects and use them as the requirements for your project. You want to see if you can replicate a specific feature.
    4. Start building the individual feature.
    5. Use Git/Github for version control.
    • Personal projects

  • Steps of coming up with a personal project

    1. Think of building a project that solves your need or needs of those around you.
    2. Figure out the technologies you will be using.
    3. Break the projects into features.
    4. Build these features individually.
    5. If you only know the basics of the technologies that you are using, then use your current knowledge to build your project.
    • Client’s projects

  • If you have the confidence and the knack of building complete projects up to the client’s specifications, you can approach prospective customers and offer your services.
    Most people advise that you let people around you know of your skills and that you are available for hiring.

    2) practice coding by taking part in a challenge

    Another way of practising coding is taking part in a challenge.
    One challenge that most people face is( lack of motivation after sometimes) hanging even when you don’t feel like hanging on. That is why you have seen the explosion of movements/ challenges like #100daysofcode.
    To counter this lack of motivation that might creep in, I suggest that you make a precommitment to work on the project for a specific number of hours, days, weeks or months.

    You can also join one of these challenges. Some of the challenges are:

    1. #100daysofcode
    2. #100daysofcss
    3. You can join an ongoing project and collaborate on it. collaborate on a project. I have taken part in such an arrangement through Chingu which was an eye-opener for me.
  • author's bio photo

    Hi there! I am Avic Ndugu.

    I have published 100+ blog posts on HTML, CSS, Javascript, React and other related topics. When I am not writing, I enjoy reading, hiking and listening to podcasts.