Best of daily.dev — February 2021
- 1
- 2
Hashnode·5y
100 most asked JavaScript Interview Questions and Answers - Part 1
JavaScript is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. It is most well-known as the scripting language for Web pages, but many non-browser environments also use it, such as Node.js, Apache CouchDB, and Adobe Acrobat.
- 3
DEV·5y
5 useful javascript tricks
In this post, I will show you 5 awesome javascript tricks which will make your life more easier. So if you are interested, continue reading. Tricks include removing duplicates from an Array and turning a Decimal Number to an integer. Trick-4: Get a random index value from an array. Trick-5: Detect the most lengthy word in an array
- 4
DEV·5y
8 JavaScript Animation Libraries You should "MUST TRY"
Animations on web applications are appealing and grab the user’s attention. JavaScript is the preferred tool of use because it handles more complex and advanced effects. Using mo.js on your site will enhance the user experience, enrich your content visually and create delightful animations precisely.
- 5
freeCodeCamp·5y
A Better Way to Structure React Projects
Akash Joshi: A Better Way to Structure React Projects would be better than the way we do it now. Joshi is the co-founder of React and co-creator of the popular React-as-a-Service project. He also co-founded the company React.io, which allows users to share information about their React projects.
- 6
- 7
freeCodeCamp·5y
5 Coding Projects You Should Include in Your Front End Portfolio
Jemima Abu is a self-taught front end developer and school taught Systems Engineer from Lagos, Nigeria. I'm on a mission to document things that I learn to make it easier for other people to learn. I hope to share some of the things I learn with the world.
- 8
Hashnode·5y
Introduction to Functional Programming
Functional Programing is Declarative. It means we focus more on what to do instead of How to do it. Pure Functions have no side effects which means it cannot alter anything outside the function. A higher order function is a function that takes a function as an argument, or returns a function.
- 9
Hashnode·5y
useState() like a Pro ✨
This blog assumes that you know the fundamentals of react like Component, Props and jsx. We will not go into the depths of this but re-rendering actually works in React, so you need to understand how this works in short. In our Counter component 0 is the initial value for the state, and using destructuring we are naming our 2 variables counter and setCounter. setCounter is used to update the counter value by 1 every time the button is clicked.
- 10
Sweetcode·5y
Top 10 SQL Commands Everyone Should Know
Theo Despoudis is a Senior Software Engineer and an experienced mentor. He has a keen interest in Open Source Architectures, Cloud Computing, best practices and functional programming. He occasionally blogs on several publishing platforms and enjoys creating projects from inspiration. He is a member of the Linux Foundation and the Apache Software Foundation.
- 11
Hashnode·5y
10 VS Code emmet tips to make you more productive
VS Code is a plug-in-based infrastructure that can produce HTML/CSS code snippets from short-hand syntaxes. In general, productivity is the ratio between output and input. Let us learn about a few tips & tricks to drastically reduce the HTML/ CSS source code creation time to become super productive.
- 12
- 13
DEV·5y
Why you should drop ExpressJS in 2021
Express was one of the first frameworks in the Node.js ecosystem, and it was great for many years! But now, it is time to let it go. Express is a routing library that supports middleware, but it is still called "a framework" It is unmaintained and has not been updated for years.
- 14
The Hacker News·5y
New Chrome Browser 0-day Under Active Attack—Update Immediately!
Google releases Chrome 88.0.4324.150 for Windows, Mac, and Linux. The fix is for a heap buffer overflow flaw in its V8 JavaScript rendering engine. The security flaw was reported to Google by Mattias Buelens on January 24. It's not immediately clear if CVE-2021-21148 was used in these attacks.
- 15
Product Hunt·5y
Ray.so by Raycast — Create beautiful images of your code
Built by the team at Raycast. Turn your code in to beautifully images. Choose from a range of syntax colors, hide or show the background, and toggle between a dark and light window. Use keyboard shortcuts to speed up your process. Embed this code into your website.
- 16
Product Hunt·5y
AlterNight — A modern VS Code Theme for those who code at night.
A modern VS Code theme for those who code at night. Embed this theme into your own code and share it with the rest of the world. Share your code with the world by sharing it on Twitter, Facebook and other social networks. Send your code to: mail@vscode.com.
- 17
Smashing Magazine·5y
Things You Can Do With CSS Today
The present and future of CSS are very bright indeed and if you take a pragmatic, progressive approach to your CSS, then things will continue to get better and better on your projects. In this article, we’ll look into masonry layout, :is selector, clamp() , ch and ex units, updated text decoration, and a few other useful CSS properties.
- 18
Hashnode·5y
What's new in Javascript 21 - ES12
This year javascript is bringing 4 new features, which are almost in production rollout. I won't be wasting much more time and directly jump to code with easy to understand examples. Use the latest node version, if you want to play around with these features. Once the compatible node version is available, simply create a new JS file, and let's get started.
- 19
Medium·5y
Handle JavaScript Events Like A Pro
An event propagates in 3 phases: capture, bubble and target. If an event has occurred on a button then it will also be triggered by its parent and its parent’s parent and so on up until the HTML element. An event bubbling is the propagation of an event from its origin towards the root element.
- 20
- 21
Hashnode·5y
10 Programming Project Ideas For Beginners
Building one project teaches you more than watching multiple tutorials. Building an alarm clock would help you get more comfortable with the command line. Building a weather application is a great way to practise working with APIs. Of course, the list is not exhaustive, and you can come up with your own.
- 22
The Startup·5y
A Simple Checklist for a Good Code Review
A simple checklist to help you do a good code review. Filipe Good explains why he likes code reviews and why he thinks they are important. The checklist: Do the code handle edge cases? Do you see duplicated code? Can this code be abstracted? Is there a way to make the code shorter?
- 23
- 24
Medium·5y
Using Vue vs React
Vue.js and React.js are two popular frontend (FE) JavaScript frameworks among web developers worldwide at present. Vue uses HTML templates by default, but there’s an option for writing in JavaScript Expressions (JSX) React relies on routing and state control on external solutions such as Flux/Redux.
- 25
Product Hunt·5y
GitHub Surf — Open repositories in a VSCode environment in your browser
Surf your repository like a pro. Surf GitHub and Gist repositories on browser with vscode environment. Surf on terminal - surf. command for opening surf on terminal. Embed Collect - Collect all the data you've collected so far on this page. Use this site to help you with your next project.