Photo by Rami Al-zayat on Unsplash

Videos are an extremely common way for users to consume information. On average there are 1 million video views per day on YouTube, and everyone has a Netflix subscription.

Video controls have a huge impact on the viewing experience. They can make or break an app so it’s important to get it right. You can’t just rely on the native controls because it might not fit the theme of your app and you can’t guarantee that the user experience is uniform between devices. …


How To Create a WYSIWYG Text Editor From Scratch in React

Photo by Florian Klauer on Unsplash

Recently I was building a blog similar to Medium as a personal project and I needed to build a WYSIWYG text editor. I considered using a framework but I figured it would be a better learning experience to actually build it from scratch. It was easier than I expected it to be, but I did find that text editors are very finicky and hard to get right. The text editor we will build here is not perfect, but it works and it is a good starting point to build on top of.

Setting Up

To get started make sure you have Node.js


Photo by John Schnobrich on Unsplash

If your Express application uses Mocha to handle testing then you have probably been getting vulnerability warnings from GitHub. In versions of Minimist before 1.2.3 there is a prototype pollution vulnerability. This could allow attackers to manipulate attributes of a JavaScript object prototype causing your application to behave in ways you didn’t intend. Here’s how you fix it!

First I’d like to state I didn’t figure this out on my own. I found the solution on this GitHub page from a user called ejke. You might have to scroll a bit to find her comment.

For me running “npm audit…

Freedom Evenden

I am a Full-Stack Web Developer who is passionate about helping others learn.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store