All Stories

HTML Meta tag viewport

The meta name=viewport is not part of any web standards, but most of the mobile browsers today have support for it. The meta tag adds instructions to the browser about...

What is Doctype in HTML?

The DOCTYPE as the name indicates describes the type of the document that would be used so the web browser, web crawler or other client tools can know what type...

fatal git-write-tree error building trees

If you search the above error, most of the answers would be to use git reset --hard command. But, you should be careful with executing this command. You can lose...

fatal git-write-tree error building trees

If you search the above error, most of the answers would be to use git reset --hard command. But, you should be careful with executing this command. You can lose...

How to find the index of an element in a list

The list.index method will return the index of the first found element in the list for e.g

Python dict.key vs dict[key]

To get the value from the dictionary the most pythonic way would be to use the square brackets [ ] e.g