Skip to content

Posts from the ‘Web development’ Category


JavaScript for manipulation with CSS class names

Modern browsers are providing a support of read-only property which returns a live DOMTokenList of the class attributes of the element, which is element.classList, which is actually a list of CSS classes of element, also we have methods for making manipulation with CSS class names and getting their number.
Read moreRead more


Parse URL JavaScript

Parsing of URL is an easy thing for any of web browser because it’s basic functionality. Instead of going deep into regular expressions for parsing of URL strings we can use the specific functionality of browser to achieve the same goals.
Read moreRead more


Auto resize iframe based on content

What if you need to have an ‘iframe’ element on your page with height which depend on iframe’s content?
Read moreRead more


Meaningful styles of messages in browser console

Messages in the console panel of a browser are really helpful for debugging of web applications. No reasons to outweigh the benefits of using these messages related to data or your code, they are obvious while you are working with it.
Read moreRead more


Why do we need frameworks

Nowadays, there are a lot of frameworks and libraries in the world of web development. Do we need them, and why they so popular?
Read moreRead more