サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
都知事選
elijahmanor.com
This post is part of my Byte Series, where I document tips, tricks, and tools that I've found useful. ProblemWhen building a localized JavaScript web-app, the default sorting logic for strings doesn't quite yield the results that you might expect. For example, take the following example… let strings = [ "nop", "NOP", "ñop", "abc", "abc", "äbc" ]; strings.sort(); console.log(strings); // ['NOP', 'a
Visualizing CSS ResetsPublishedAugust 7, 2020 Views…Reading time1 min readThanks Shawn Wang (@swyx) for suggesting red liquid to indicate dev styles. Share on TwitterDiscuss on TwitterFollow @elijahmanorTweet about this post and have it show up here!
NOTE: This post is a sibling post to Natively Format JavaScript Dates and Times When I've needed to format numbers in JavaScript I usually used Number.prototype.toFixed(), found a 3rd party library, or manually manipulated the number to suite my needs. However, with modern browsers, there's a lot of really interesting capabilities you could start using with Number.prototype.toLocaleString() or Int
NOTE: You can find the code for this project in GitHub and you watch the whole Build a Terminal Dashboard with React video series on egghead.io. The Tweet that Started It All Creating the ProjectFrom the terminal create a new folder called devdash, immediately change directories, and then create a new package.json file with npm init -y to auto-answer yes to all the prompts. mkdir devdash && cd $_
Facebook's React Library is a very powerful and popular library these days. This website's intent is to track the rise and fall of the size of the React library. (see chart below)
In the past I've given presentations, recorded videos, and written blog posts about fixing common JavaScript and jQuery bugs. This is a good skill to have, but what about working code? Fixing broken code is important, but have you ever gotten into the situation where your code works, but it doesn't feel quite right... maybe even smells?"A code smell is a surface indication that usually corresponds
A framework for easily creating beautiful presentations using HTML
The ProblemHave you ever published your code only to find pesky console.log statements littering your web application? These can be problematic for several reasons... It is embarassing to have logs in the consoleIt can slow down the page's performanceIt causes bugs in IE8/9 when the devtools are not openSo then, what are some ways you can protect yourself from all those logs? 1: Manual RemovalThe
Have you ever gotten into the situation where you have a set of colors that are all quite similar, but you need each of them defined to create gradients, text shadows, borders, and the like? For example, look at the following buttons. There are 3 variations of the button and each one uses a variety of different colors to control its look and feel. DemoSee the Pen xsBuH by Elijah Manor (@elijahmano
editor for the past couple of weeks and I've really enjoyed it. At first there weren't very many extensions/packages available, but the community has been quick to fill in that gap. You can browse the packages online or from Atom's Preferences... (⌘,) Official PackagesGitHub has included serveral packages in the base install of Atom and in addition they've created other helpful packages as well. S
The following content comes from the forth module of my Pluralsight course entitled: Front-End First: Testing and Prototyping JavaScript Apps. The rest of the course covers an introduction to Unit Testing, Examples of Hard to Test Code, Mocha (a JavaScript test runner), Grunt (a JavaScript task runner), Mockjax (a way to mock Ajax requests), mockJSON (a way to generate semi-random complex objects
Differences Between jQuery .bind() vs .live() vs .delegate() vs .on() IntroductionI've seen quite a bit of confusion from developers about what the real differences are between the jQuery .bind(), .live(), .delegate(), and .on() methods and when they should be used. If you want, you can jump to the TL;DR section and get a high-level overview what this article is about.Before we dive into the ins a
Most of you have seen many jQuery Cheat Sheets out in the wild, but as of recently there are now also many ASP.NET MVC Cheat Sheets to chose from. If you know of any other ASP.NET MVC Cheat Sheets, please let me know and I’ll add it to the above list. I hope these prove to be helpful for you. You might consider printing them out and posting them on your cubical walls ;) Note: Instead of hosting th
このページを最初にブックマークしてみませんか?
『elijahmanor.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く