…using CamanJS which can apply basic filters like contrast, brightness, and noise to an image. CamanJS also has some other built-in filters like Nostalgia, Pinhole, Sunrise, etc., which we applied directly to the image.In this tutorial, we will cover some more advanced features of the library like Layers, Blend Modes,…
…using either npm or yarn. I prefer yarn. See 6 Things That Make Yarn the Best JavaScript Package Manager to understand why. It's as simple as:yarn add --dev jest If you prefer npm, then type:npm install --save-dev jestBefore we can test, let's write some code to test. Here is palindrome.js:function…
…Using WordPressEvery Content Management System by nature has its own set of downsides. With the involvement of different parties possessing different goals, compromises are bound to happen. Whether it’s users sacrificing customization or developers losing maintenance ease, something has to give. Here are some of the challenges using WordPress presents:Using…
…using package managers like npm and bower by running the following command:npm install mo-js bower install mojsOnce you have included the library in your project, you can start using different modules to create interesting animations.The HTML Module in MojsThis tutorial will focus on the HTML module in the mojs library.…
…using mojs, you should probably use the Shape module from the library.The Shape module allows you to create basic shapes in the DOM using SVG. All you have to do is specify the type of shape that you want to create, and mojs will take care of the rest. This…
…using mojs. In this tutorial, we will learn about two more modules which can make our animations more interesting. The ShapeSwirl module allows you to add a swirling motion to any shape that you create. The stagger module, on the other hand, allows you to create and animate multiple shapes…
…using customisable HTML/CSS templates.Best features:over 50 prebuilt templates includedaccepts any HTML5 form elementsdefault options ready for Bootstrapemail sending and moreUser sflahaut says:"Excellent product containing ready to use examples of all types of forms. Documentation is excellent and customer support is exceptional as many others have commented previously. I highly recommend this…
…using Eloquent $model_post = Post::find(1); $model_post_title = $model_post->name; $this->assertEquals($db_post_title, $model_post_title); } }As you can see, the code is exactly the same as it would have been in core PHP. We've just imported Laravel-specific dependencies that allow us to use the required APIs. In the testAccessorTest method, we're supposed to test…
…using the react-router and react-transition-group modules to create multi-page React applications with page transition animations.Preparing the React AppInstalling the create-react-app PackageIf you've ever had the chance to try React, you've probably heard about the create-react-app package, which makes it super easy to start with a React development environment.In this tutorial,…
…using, etc. Stimulus does not try to reinvent a bicycle, and its event system is based on generic JS events.For instance, let's bind a click event to our employees. Whenever this event happens, I would like to call the as yet non-existent choose() method of the employees_controller: <ul> <li><a href="#"…