If you are a beginner in front-end world or you are back-end programmer, like C#, Java, Python or SAP-ABAP and from time to time you must do some coding in HTML, CSS or JavaScript, than you are in a right place! I will show in this short course the most important parts of Front-End world,…
Category: tips front-end
JavaScript: creating callback functions
Many native methods in JavaScript uses callback functions. When you first see the callback function usage, liek in example below, when it is passed as another method’s argument, than it may look strange for you. You can think how the method can me an argument of a function? But this is quite simple, when we…
jQuery: scroll to top button
I will show in this short article how to add in JavaScript “scroll top” button. This is a popular solution used on blogs or websites with “one page” layout – so in situations when web page has a long content, which require a lot of scrolling down, then user has easy option to go smoothly…
JavaScript: Adblock check
If you are running a website, you must know how annoying are AdBlock users. You try to give the best possible content for your users for free and you want simply to earn some money by external advertising services like Google Adsense, but AdBlock users are constantly minimizing your incomes. So… JUST CHECK IF USER…
JavaScript: check if variable is object or array
🠗 Skip reading – scroll down to solution 🠗 Why it is so important to verify if variable is an object or array? In JavaScript it is easy to be fooled. The same is with objects and arrays. Often we must check if some variable is object or array. Short example – we receive some…