Blog Home - CodeBrainer

What is JavaScript?



JavaScript is the Programming Language for the Web. It can update and change both HTML and CSS, and it can calculate, manipulate and validate data.


Read more


Working from a coffee shop as a freelancer



If you are used to working on your own, that means that all your ideas come from thin air. Working from a coffee shop gives us some sort of social interaction.


Read more


Web Developer Skills - Web Developer Basics for Beginners



Start with the basic web developer skills to call yourself a Web developer. Let's get you on the way to become an excellent Web Programmer.


Read more


Is your job obsolete? Become a designer of the future



Is your job safe or is it obsolete? What to do to become relevant on job market of the future.


Read more


Running a Web server on Windows


Here we are going to take a look at how to run a local web server on Windows using the http server module .


Read more


Running a web server on a Mac


Here we are going to show you how to run a web server on your mac using Node JS.


Read more


Best way to learn how to code is to make it your New Year’s resolution


Best way to learn how to code? Make a promise to yourself, something that will impact your career in the future.


Read more


Knowing HTML/CSS will get you hired as a graphic designer


It is very simple a good designer should know what HTML and CSS is. Designer and developers communicate a lot and that is why more than 30% of companies want their graphic designers to know HTML.


Read more


DESIGNERS are from Mars & DEVELOPERS are from another universe


If we knew, we’d have told you, but no one knows when this battle started. Designers and developers have had this love-hate relationship for what seems like forever. In fact, it is rare to see a team of designers and a team of developers work hand-in-hand without having to argue for a while.


Read more


10 reasons why you should learn how to code and stay a freelancer


Do you know that learning how to code and becoming a freelancer can open a lot of doors for you? In case your heart skipped a beat, you have nothing to worry about. You are not the only one who sees a piece of code and gets confused. It is a skill you don’t yet have, a language you don’t yet understand. However, just like any other skill or language, it can be learned .


Read more


Coding is for anyone, not just for engineers


Coding opens up a world of possibilities . No matter what your goal is - just a simple wish of learning a new technical skill for the job you want or becoming a future entrepreneur, that will create the top notch technological product - anyone, regardless of their background, could develop practical programming skills . Period.


Read more


“Why should I learn JavaScript?”


The short answer is - because only then will you know how the WEB really works and it’s a great gateway language to programming. Let me tell you why we decided to create a JavaScript course. But before we start, I have to tell you that one of our favourite quotes at CodeBrainer is “ Assumption is the mother of all f***-ups ”. Having said that, you have to know that we try to make all our decisions based on data and analytics.


Read more


What is the difference between px, dp, pt, sp, mm, in?


When designing a UI for a project we work with dimensions a lot. It comes naturally for us when setting sizes. But when we want to know more about behaviour on a physical device, questions like, what are the differences, arise?


Read more


What is an enum in Kotlin?


We have written about enums in Java , for those who read that article this can be a comparison to implementation in Kotlin. For others, that want to learn what an enum is in Kotlin, this is a good start.


Read more


Where the hack are bullets in HTML and why do we call them UL? And, what is LI?


This is one of our super fast lectures. We want to give you skills in the shortest time possible! We are here to teach you HTML essentials, so lets start.


Read more


What is an enum in Java?


We got a question the other day, what is enum? Enum is a very useful type in Java. Enums are used to list (or enumerate) known values. It is like having a list of constants that are listed together under common name.


Read more


Random number in JavaScript for Beginners


Using a fun and useful example, we are going to show you how to generate a random number in JavaScript .


Read more


MotionLayout for Android Beginners


I’m always disappointed when working with UI transitions and animations for Android, it just looks like we were left behind. My colleagues on iOS play with effects all the time. That is why I was so excited when I heard about MotionLayout, it just looks like there is a little helper out there to make our lives a little bit easier. Don’t get me wrong we have a few possibilities in Android already, but none of them get me excited. What is great about MotionLayout is that it is fully declarative , this means that you can fully describe everything in XML, no code is needed. Also, MotionLayout is a ConstraintLayout, so you can transform one to the other with ease. This means that MotionLayout works like ConstraintLayout. This blog is about making your first step into using MotionLayout, it is the simplest example that we can show you with enough effect to be fun as well. For more examples read the next part as well.


Read more


13 designs for buttons every Android beginner should know


During all the years of mobile development, we had quite a few requests for button designs. So we wanted to create a short list of examples you can start from. Most of these design techniques will work for many other types of components as well.


Read more


Why Android Development is great for a beginner


A lot of students wonder where to start and I will just say it: "Android Development is a good place to start." There are a lot of reasons, I like Android because it is accessible to anyone and you can install development tools on most operating systems.


Read more


How to run an app in an Android Emulator


Using Android studio we will take a look at how we can test our Android app by running it in an Android emulator.


Read more


How to make your first custom component for Android Beginners


I was asked to create a TextView that will show the price of a cryptocurrency. When I was looking at all those numbers I didn’t like it at all. Just too much numbers for my taste. The problem is that people are very bad with decimal numbers. So we needed a solution. Working with a designer we came up with a genius solution. Having a few decimal digits in bold would tell you where’s the middle of the decimal number. Depending on the day the price of 1$ in bitcoin is around 0,0001 and that is easy to mistake when paying. So we had to make this clearer to users.


Read more


A “what to learn” checklist for Android beginners


Students ask us a lot, what kind of topics they need to learn before they become proficient in Android. This is our list.


Read more


How to display data with RecyclerView for Android Beginners


RecyclerView is a component that displays data in different ways and is made with contemporary techniques to make scrolling as smooth as possible and to make development easier.


Read more


Google I/O 2018 - Why we should be scared


Google I/O 2018 is here! Watching the keynote made me think a lot about what is our future going to look like.


Read more


Material Design Introduction for Android Beginners


This is the first part of the Material Design blogs . The introduction is a description of what Material Design is all about, how it was structured and how it behaves . We will show the implementations of components and Material Design in a separate blogs.


Read more


Android Studio Layout Editor for Beginners


Android Studio's Layout Editor enables us to build layouts by dragging components onto the screen instead of writing the layout XML by hand. Layout Editor is one of the companions, that will follow us through the whole journey of app design. For a beginner, this is one of the places to start building apps. In Layout Editor you can design screens and add components, that you will use later in the code. So we have to get used to it to start building our apps.


Read more


SharedPreferences - Store simple data quickly


Almost all applications need to store some data . Data can be a lot of different things, it can be just an email for a registration form , the last opened screen , nickname for a game or proper database. If you are not ready to use a full blown database yet (or just don’t need it), you can use SharedPreferences to store simple and a little bit more complicated data.


Read more


How To Add Fractions To Android Calculator


If you want another challenge for our Calculator project, this is a good place to start. The idea is to add fractions to Calculator. In this blog we will show, how you can calculate with fractions in Java. Then it is up to you, as you will have to add this knowledge to Calculator app yourself. But this is a standalone project you can do if you follow our instructions.


Read more


How To Start A Project In Angular 2+


Angular 2 or newer is still fresh to scene, meaning that it has no official development environment. We will use Visual Studio Code from Microsoft in our examples since it is free and has good support for Angular and TypeScript.


Read more


Registration continues (simplest way to setup spinner and radio button)


This is part two of registration form blog about making a registration form . We will show how to collect gender with RadioButtons and State with Spinner . We will show you the simplest way to prepare Spinner and how to link it to data. No adapter needed.


Read more


Registration form in Android (Check if email is valid and if EditText is empty)


There are a verity of forms. Here we are going to take a look at a registration form to show you how you can check or validate data that a user has entered.


Read more


Christmas Tree - Android


Just a few more days are left in this year and Christmas Trees are all around. That is why we decided to make an app that will bring some of that joy to the Android. With this app we will showcase random numbers , how you can search for views by type on activity (or view) and how to change colors using tint . To make it even more fun we will use a CountDownTimer to change colors every second and drawable for light bulbs. This will be fun practice, packed with knowledge.


Read more


Make A Simple Android Love Calculator App


I wanted to write Love Calculator for a long time. It was just a fun we had in school writing down names and calculating percentage of love for each other. It was pure fun. We learnt a little bit less for few hours but at least we were programming :D


Read more


What is a function and how to color your name


Today we will make a function, that will help us color a name. This will be a nice example of what a function is. A function is a block of code, that will give us a result for given parameters. There are a lot of functions already prepared for us in Android and in Java itself. We use them all the time, without knowing it. :D


Read more


Prepare activity for RelativeLayout


In some of our examples we use RelativeLayout to setup activities or layouts. We do this to make it simpler to start a project and show a sample. If our sample is using RelativeLayout you can use this steps to set it up.


Read more


How to start an Android studio project


Creating a new Android Studio project is very easy. You will just have to follow these couple of simple steps.


Read more


What are If statements (conditions)


What is an If statement and how to choose a random color? When programming we have to do alot of decisions and for that we use if statements. In programming an if statement is a way of telling a program when to run your code. If your condition is true it will run your code, if it is not true it will jump over it.


Read more


How do we switch screens in Android


What is a simple way of getting to another screen? Let me share a solution that is meant for beginners. It will also give an insight on what is an intent and what it can be used for. In this article we will use it for opening a screen in our app.


Read more


Exporting an Android Studio Project


We get asked more and more, how can our students move a project from one computer to another . They are constantly showing their project and asking how to take their project even further. But there were some projects, that were not exported in the right way, that is why they do not work when you open them on a target computer. So we decided to write a short step by step guide on how to export Android Studio project .


Read more


Top 10 Ipsums


A lot of times developers (and designers) are forced to write a lot of text to show how their app, websites and other products will look like when text is entered . Just the other day I stumbled upon Bacon ipsum and that got me thinking, we need a list of Ipsums .


Read more


Top 10 HTML tags


I get asked a lot about what are the best tags you should know when you start to learn HTML. This is my short list of top HTML tags , that I use a frequently. All the tags have a short description and an example, so that you can see immediately what they do. See the live example as well on the link below the list.


Read more


Our visit of Podim 2017


PODIM Conference is co-created by the most active stakeholders of the startup ecosystem from Slovenia, Austria, Italy, Hungary, and Croatia! Our in other words it is the place to be if you are a startup looking for first few insights, meetings with investors or just talking with fellow founders and exchanging experiences.


Read more