March 15th, 20170336The tel input type stands for telephone while the others should be self-evident. It is good to start using them where appropriate as there are subtle differences in the browsers when you use them. For example, on a mobile phone the tel input type might show the numbers first in the user’s browser and the date and time input types would...
March 15th, 20172552You can be more specific, for example, by stipulating image/png instead of the wildcard image/* which accepts all kinds of images. When you add the accept attribute and the user is shown the file dialog, he would be able to select only files from that particular type with some browser magic.
March 15th, 20170235When creating pages, it is important for your website to be valid. That means there should be no errors in the HTML code of your webpages. This is not mandatory but it will provide a boost for your website; both in terms of consistency and search engine rankings.
March 15th, 20170355Use objects/classes to encapsulate your application logic and try not to pollute the global variable scope as this can cause frustrating problems such as libraries not working from variables being overridden.
Below is an example how you can structure your application’s logic in a simple way without polluting the global scope.
March 15th, 20170211Some basic HTML tags developers/designers use regularly explained below.
1. - you can use it for longer, multi-lines quotations from a different source than the rest of the content. They are usually indented by browsers
March 15th, 20170665Learning programming is fun and easy, but writing down a good quality code can be a little bit daunting task. In several cases, developers find themselves scratching their heads trying to understand or break down the previously written spaghetti code just to make some minor changes in the setup.