Toggle Password VisibilityFor input types of 'password', browsers mark the user's input (typically by replacing the characters with asterisk '*'or dot '.') for security reasons. However, the user might want to confirm that his input in plain text, so there is the need for an ...Oct 14, 2020 · 1 min readtemitope.hashnode.dev
Object.entries()Object.entries() is used for listing all key-value pairs in an object. It accepts an object as a argument, and returns an array enumerating the key-value pairs of an object. const obj = { 1: 'Israel', 2: 'Temi', 3: 'Miro' }; console.log(Obj...Oct 9, 2020 · 1 min readtemitope.hashnode.dev
Basic Git commandsHere is a list of some useful git commands. Initialize empty Git repository git init Stage a file git add filepath Stage all files git add . Commit file changes git commit -m "commit message" Check for staged and unstaged files git status Push commit...Oct 9, 2020 · 2 min readtemitope.hashnode.dev
Web Accessibility- Building website for everyoneWhen building a website, it is important to consider the audience (users). There are different categories of people that have access to the internet and you have to ensure that they can use your website without any hindrance, and at the same time, ge...Oct 9, 2020 · 4 min readtemitope.hashnode.dev
How to truncate multi-line string with Pure CSSIt is easy to truncate a single-line text. white-space: nowrap; overflow: hidden; text-overflow: ellipsis; Multi-line Tuncation However, what if you want to truncate after some lines? The CSS -webkit-line-clamp property comes in handy. It...Oct 9, 2020 · 1 min readtemitope.hashnode.dev