Why do I get this error – Compiled with problems: Module not found: Error: Can't resolve 'react-top-loading-bar' while installing top-loading-bar

Advertisements I want a top loading bar on my page but I keep getting a bunch of errors when I tried to install the npm. this is the command I used- npm install –save react-top-loading-bar <script src=”https://cdnjs.cloudflare.com/ajax/libs/react/16.6.3/umd/react.production.min.js”></script&gt; <script src=”https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.6.3/umd/react-dom.production.min.js”></script&gt; and the errors in my terminal- picture of the terminal and the error on my browser… Read More Why do I get this error – Compiled with problems: Module not found: Error: Can't resolve 'react-top-loading-bar' while installing top-loading-bar

How can I underline a Heading element finitely while keeping it in the center(using text-align) at the same time?

Advertisements I want to underline my element finitely while keeping it in center of the page using text-align: center. However, using border-bottom(for underline) and text-align: center at the same time, the underline goes on till the end of the page. Is there any other way I can achieve this? Hope you understand my issue. Thanks… Read More How can I underline a Heading element finitely while keeping it in the center(using text-align) at the same time?

Z-index does not work properly even when setting position elements and z-index?

Advertisements I have added position like relative and absolute to the elements in my css but it does not work properly. This is my HTML Code for the title and features section of my website. I want to make the image of the dog appears behind the feature section. I have added the z-index for… Read More Z-index does not work properly even when setting position elements and z-index?