profile image

Welcome to the Counter2Coder Blog!

STICKY Tue 11 May 2021

Hi, I'm Chris and I am an accountant who has a passion for learning how to code.

Over the last few years I have been tinkering with various languages, frontend and backend, database applications and all things web. It is overwhelming how much information and options there is out there that it is difficult to know exactly where to start to learn to code.

I have learnt a lot about coding and websites (and I haven't even touched the surface) but so far have not actually pulled it all together, and so here is the blog.

Don't learn to code - Learn to build!


So, using my accountancy knowledge this blog as my personal project will grow into a resource hub to showcase my coding progress while referring to accountancy, and will also be a work-in-progress if you like.

counter2coder - where accountancy meets coding
In exploring my passion for coding I will also be showing how accountants can utilise these skills and why every accountant should learn to code!

Thanks for reading,

Chris - Counter2Coder

profile image

Having a cape doesn't mean I can fly!

General Wed 19 May 2021

Superhero flying form screen

There was once a warning and disclaimer by a manufacture of children's superhero's costumes that read: "WARNING: This costume will not allow you to fly."

A bit over the top I think but the manufacture obviously felt it necessary to point out, just in case.

But it does highlight a significant point, it warns you that you are not something that you may think you are.

Wordpress


I have used and played around with Wordpress for a few years now, building a few sites for fun and a few for my business, one being Numbers for Nerds.

I usually start by setting up the domain on my hosting and then installing the latest version of Wordpress, and then it appears just like magic with the standard theme ready to go.

I look for a theme in the Wordpress theme directory and often search google for paid themes to see what other and better themes I like. However, once I have a theme, I am never 100% happy with the theme itself, and I set to making it look different.

Most themes have a 'customisation' option, whereby you can change the colours, fonts and sometimes the layout all with the click of a button. Soon it starts to look customised to how I want it. I can upload images and insert my content into the placeholder sections and it starts to look really good, well in my opinion anyway.

I feel that I can accomplish building a website with Wordpress but here comes the warning of reality

I am not a Web Developer - I am a Wordpress user!

Similar to the cape, being able to use Wordpress doesn't actually make me a web developer. I can simply use a piece of software that prompts me to make edits and guides me through the options available, which results in a website. The theme itself has been actually built by the real developer.

This is another reason why I wanted to learn to code and further my knowledge of web development.

You see, there is lots of magic going on in the background that I clearly didn't understand how or why or what it was doing. I always wanted to tinker with the theme more and more. I started to use custom css, adding more and more plugins and over all feeling disgruntled the theme didn't do and look exactly how I wanted it to - until I finally thought, why not just learn to build a basic website from scratch!

Accountant or User?

The same principle could be said witin the accounting profession.

With many software applications offering certifications and rewards on learning to use their software it raises the same question:

"Are you an Accountant/Bookkeeper or are you simply a User?"

You really need to know the fundamentals behind the software to actually understand how, what and why it is doing what it does, meaning you need to think for yourself like a Web Developer or Accountant / Bookkeeper and without experience it will be hard to achieve this.

Thanks for reading,

Chris - Counter2Coder

profile image

Employment Allowance Graph 📊

In Focus Wed 12 May 2021

Superhero flying form screen

Here I am taking a look at the Employment Allowance and present the data in an more engaging format.

Counter

The Employment Allowance offers eligible employers the opportunity to save money by reducing the business cost of Class 1 National Insurance Contributions.

The Employment Allowance has been around for a number of years now and has gradually seen an increase. For 2020 sees the increase from £3,000 to £4,000 and with an introduction of 'NICs Secondary Total Liability Cap'.

The Sole Director (being the only Employee) Restriction remains in place.

Coder

All accountants love a good graph and here we are not disappointed.

The chart has been created using basic HTML and JavaScript and this results in a chart in which the user can interact with. Hovering over the bars of the chart displays the values of the allowance and the corresponding tax years, similar to that of a tooltip.

The chart is colourful and clearly displays the historic data along side the current tax year so that the user can quickly interpret the data.

To compliment a chart we have a very simple table of the same data of the chart with a few extra details of the eligibility of the allowance. In a future blog article I will demonstrate the process of creating easy to read tables of data using HTML.

Not so long ago for myself it would have been the scenario of using Excel or Google Sheets to create the graph and table and then to simply screen grab the data, save as an image then place on my website or blog.

Inserting charts and data as images on a website does present a few problems:

  • It looks lazy and unprofessional
  • Images sometimes do not look crisp and can appear blocky
  • The images may not be responsive in nature for different screen sizes
  • The images are not interactive
  • Updating the data means updating Excel and then recapturing the images for upload


Employment Allowance 2020 to 2021 2019 to 2020 2018 to 2019 2017 to 2018 2016 to 2017 2015 to 2016 2014 to 2015
Allowance £4,000 £3,000 £3,000 £3,000 £3,000 £2,000 £2,000
NICs Secondary Total Liability Cap £100,000 - - - - - -
Sole Director Restriction Yes Yes Yes Yes No No No
View chart in full screen

** Articles will be updated and expanded so ensure you visit again soon! **


profile image

Sign up to my Newsletter 🗞