Learnings Posts
What is a clip-path? And how to use CSS clip-path elements?CSS

What is a clip-path? And how to use CSS clip-path elements?CSS
In this blog, we will learn how to use clip-path and also cover inset(), polygon(), circle(), and ellipse() method .
What is CSS Clip-path?
Clip-path is a CSS property that creates a clipping field that sets which part of a component should be shown and which other parts are hidden. The inside of the clipped area is shown, while the outside is hidden.
CSS Property clip-path creates shapes by clipping an element. It clips some regions of an element to create new shapes. The most used method for clip-path is polygon(), circle(), and ellipse().
CSS clip-path() accepted values
These shapes can be created using basic shape functions. The basic shape functions are listed below:-
- inset()
- polygon()
- circle()
- ellipse()
inset()
The inset () function allows you to clip a component from around the coordinate system. The result is a visible rectangle. you can assign values to the margin or padding and border-radius property. but two values are limited in rounded corners. The first value is assigned to the top left corner and the bottom right corner and the second value is assigned to the top right corner and the bottom left corner.
polygon()
To design or clip the rectangular parts of the viewport, we use the polygon () method. Polygon is the most commonly used method in clip-path. We can construct any shape using the polygon method.
Example
circle()
The below image is created by using the clip-path method circle(50% at 50% 50%). In the circle(val1 at var2 var3), val1 is the size of the radius of the circle, and val2 and val3 are the positions of the center. val2 represents the position of the center from the left of the viewport, val2 represents the position of the center from the top of the viewport.
ellipse()
Below image is created using clip-path method ellipse(25% 40% at 50% 50%). An ellipse(val1 val2 at val3 val4) val1 and val2 are the horizontal and vertical distance from the center. val3 and val4 is the position of center.
Resources
I recommend you visit this link to play with the clip-path CSS property. You will see different types of shapes from this link. It's an imaginative place. You can customize your shape.
How to increase sales using Email Marketing?Sales

How to increase sales using Email Marketing?Sales
Email marketing is an effective way to increase your sales. Email marketing is an easy way to sell your product without any charge with a high ROI.
People said the email marketing technique is not useful to sales. but it’s not real today in 2021 almost all people use email. So we can easily reach out to them and increase sales using email marketing.
First, know the term What is email marketing?
- Email marketing is an effective digital marketing strategy to send emails to customers related to product sales and increase sales using email marketing.
The importance of email marketing for increase sales
Email marketing is the two-way communication channel
- Email marketing is the two-way communication channel where people send a reply back to your mail easily so communication is faster and you can easily sell your product and increase sales using email marketing.
Your own email list
- In some social media, sometimes your account is banned with large community fans but email marketing is the only way to create your own email list so no one can ban you or nobody can take your leads away from you.
Email use for better conversion
-
Email marketing has a huge ROI(Return of Investment) of 4400%. No one social media has a huge ROI like email marketing. Do you think you can increase your sales using email marketing?
- Every person wants to increase sales using email marketing with high profit.
4 Ways to do email marketing and increase your sales
Built an email list
-
Build an email list of subscribers who are interested in what you are offering. The best way to create an email marketing list is to create a personal audience and send mail to them.
-
First, think of an email list. All the people are your customers and some of them are from different niches. They don’t like to receive from unrelated or different topics for a niche.
- So, build an email list of those who are interested in your product.
Maximize your email list
-
You know more people coming out to your website, offer the customer free templates, checklists, eBooks, etc.
- The most ideal approach to create drives that are really inspired by your item is by offering a lead magnet that tackles an issue for customers. For the most part, lead magnets are digital books, agendas, or exhaustive aides that your crowd can use to determine a problem area identified with your business.
Segment your lead list
-
Do not directly sell your product because nobody can purchase a product for you.
-
First, know the customer interest and send 4 to 5 emails or offer some on your product.
- After customers are convinced about your product then sell your product.
Ensure email is delivered or not
-
After sending an email, whether the email is delivered or not.
- Is the best way to increase sales using email marketing
5 Easy ways to create a Backlink for WebsiteSEO

5 Easy ways to create a Backlink for WebsiteSEO
Today I’m going to show you 5 easy ways to create a backlink for a website. If you do apply this method I'm sure to get a quality high-domain authorities website backlink.
At this time, all people want their website to rank 1st in google ranking.
If you want to rank your website in google 1st, create a backlink from a high authority site.
So let’s get started with 5 easy ways to create a backlink for a website.
1. Article Submission
What is article submission?
Article submission is the process to submit your article to high-quality websites or directories to improve SEO ranking and get traffic to websites.
Some free sites are available for submitting an article.
Article submission is one of the easy ways to create backlinks for a website.
Why Article submission important from a backlink point of view?
Article submission is an effective off-page SEO technique.
Using Article submission you can get quality backlinks from high domain authorities websites which use to get traffic to your website and improve SEO ranking.
How to submit an article to a free article submission site?
- Check article submission site DA & PA.
- Register on the article submission site.
- Choose the category of your article.
- Include your article or website link in the author’s description box. It’s the most important step.
- Submit your article
- Check if your article is published or not.
Here is some site to submit Free Article
2. Quora Answering
What is Quora Answering?
Quora answering is the site where users can ask questions related to their queries. And people can answer a user's query in quora.
What is the DA of quora?
- DA: 93
Why is Quora useful for backlinks?
People can answer user’s queries in quora. And put their website link or article post link.
It’s a type of backlink. When users click on that link they redirect to your site.
Quora is an easy way to create a backlink for your website.
Using Quora you can create a high-quality backlink.
Quora backlink is also affecting traffic to your website means increased traffic to your website and improve your SEO ranking using create a backlink from quora.
Guideline to create a backlink on quora
- Do not create a backlink
- First some answers to user’s queries
- The recommended way is to answer 5 user’s queries and create links to only a maximum of two of them.
- If you create all answers with your link then quora can ban you.
How to create a backlink from quora?
- Create an account on quora
- Answer user’s queries
- Create a link to your article.
- It’s a Nofollow backlink for your website.
All quora backlink is nofollow means It’s used to increase traffic for your website but google crawler can not read backlink because it’s nofollow.
3. Social Bookmarking
What is social bookmarking?
Social bookmarking is sites where a user submits their blog post, article, videos, etc.
Why use social bookmarking for SMM?
Social bookmarking sites where social media marketing managers find posts to their relevant topic. It’s Important to reach our posts through social media to more people and get traffic from them.
How to use a social bookmarking site to create backlinks?
- Create an account
- Submit your site
- Create a backlink
Here are some sites of social bookmarking
It’s an easy way to create a backlink for your website. In social bookmarking sites some backlinks are dofollow and some backlinks are nofollow.
4. Directory Submission
What is directory submission?
Directory submission where you can submit your site URL and details about your website to increase link building for your site.
A web directory is a kind of a website that has some categories, sub-categories. You can submit your site to a category of your niche.
Why is direct submission important for link building?
Using directory submission you can create high-quality backlinks from some high-domain authorities. It’s useful to get more traffic to your website and improve SEO ranking.
Types of Web Directory
- Paid and featured listing
- Regular link with reciprocal link
- Free and regular listing
How to use the Directory Submission site to create backlinks?
- Create an account
- Select a free and regular listing option
- Submit detail about your website
- Create backlinks
Here are some sites of social bookmarking
5. Ping Submission
Ping Submission is a mechanism of sending auto generated notifications to google spider.
It is one type of SEO tool. Where you can submit your blog post or website to get backlinks.
What are the benefits of Ping submission?
- Improve SEO ranking
- Useful for site indexing
- Easy ways to create backlinks
- Also, use for improving search engine result pages
How to get backlinks using ping submission?
- Create an account on the ping submission site
- Submit a blog post to the relevant category
- Get a backlink
- Not submit more than 3 same URLs on one ping submission site
Ping Submission Site
Conclusion:
In this topic 5 easy ways to create a backlink for a website, if you read the whole blog post you have an answer on how to create backlinks. I hope your problem will be solved on this topic.
How to setup React in LaravelLaravel

How to setup React in LaravelLaravel
In this article, I show you how to set up react application in Laravel Framework. as you know react is a very flexible frontend library and works with together any backend framework, so let start and follow the following steps. I hope you have created the laravel application.
You can watch the following video tutorial or follow this article as well,
Step 1:
Let's go to the resource directory in laravel. now let's create react application. you should watch the following tutorial if you don't know how to create react application.
Step 2:
Merge the package.json
and package-lock.json
files in the root. fire npm install && npm run dev
command in terminal for compile react application to js.
Step 3:
In this step, you need to set up a webpack.mix.js
file. put the following code in the webpack.mix.js
file.
mix.options({
postCss: [
require('autoprefixer'),
],
});
mix.setPublicPath('public');
mix.webpackConfig({
resolve: {
extensions: ['.js', '.vue'],
alias: {
'@': __dirname + 'resources'
}
},
output: {
chunkFilename: 'js/chunks/[name].js',
},
}).react();
// used to run app using reactjs
mix.js('resources/react-app/src/index.js', 'public/js/app.js').version();
mix.copy('resources/react-app/public', 'public');
NOTE: Don't forget to change the index.js path based on your application name
Step 4:
Let's add <div id="root"></div>
to your application's root blade file
Step 5:
Let's inlude <script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
to your application's root blade file before end the body tag.
So, the Basic setup is done. enjoy react with laravel.
Fix 404 while reloading Gatsby Website for dynamic client-only routeGatsby

Fix 404 while reloading Gatsby Website for dynamic client-only routeGatsby
Last week, we run into a problem for one of the large Gatsby + ReactJS + Laravel projects in hosting which is hosted with Apache Webserver on Amazon AWS EC2. The problem we were facing was, for some reason, when we reload the Gatsby website, it was giving a 404 error page.
If you open a home page and then a normal visit then the website will fully function, but if you reload the page then it gives an error. And we found it happens when we are using Dynamic routing of React Route in Gatsby as per show in Gatsby documentation here.
Also, what we found, if we test the website build with gatsby serve
then it works fine. But while using Apache, it behaves differently and we found that this problem has been faced by lots of people over the internet.
So what we came up with is, we used gatsby serve
with an apache proxy. Here is how we did it,
Step 1 - Setup Project
As a first step, clone the project on the server and run a command, gatsby build
to create a gatsby build.
Step 2 - Setup PM2 for Gatsby Serve
The next step that we need to do is run gatsby serve
. But as you know, we can not run this command directly via console, because as you exit from the console, the command will be terminated.
So we will be using pm2 package, a NodeJS utility that is used to run nodejs apps.
For that, we will need to install pm2 globally. Run the following command to install it,
npm install pm2 -g
You can find other installation ways here if you need.
Once the installation has been done, let's run the gatsby serve command via pm2. For that run the following command from the gatsby project folder,
pm2 start gatsby --name my-web-app -- serve
where my-web-app
you can replace with the name of your app.
Once, it's running, try to test it, if it's working correctly by opening the URL http://your-ip-address:9000/. Make sure, port 9000 is opened on your server for traffic.
Step 3 - Configure Apache
Once, gatsby serve
is working and tested. The next step is to configure apache to proxy all port 80 traffic to port 9000.
For that, edit your apache conf file (or virtual host conf file), and add the following lines (or configure it to something like the following),
<VirtualHost *:80>
ServerName my-web-app.infyom.com
ServerAdmin webmaster@infyom.com
ProxyRequests On
ProxyPass / http://localhost:9000/
ProxyPassReverse / http://localhost:9000/
ErrorLog ${APACHE_LOG_DIR}/my-web-app.infyom.com.error.log
CustomLog ${APACHE_LOG_DIR}/my-web-app.log combined
......
# any other options below as per your need
......
</VirtualHost>
The next step you need to do is restart your apache server by,
sudo service apache2 restart
And then you can just open the URL https://my-web-app.infyom.com and it should work fine.
Bonus
New Deployment
Whenever you deploy a new code, you again need to run gatsby build
and then pm2 restart my-web-app
. Then only it will take new changes.
Troubleshooting
Sometimes, we found that we need to restart apache as well after the new deployment. so if you run into any trouble, then make sure to restart apache as well and it should solve the problem.
I hope it may help you to resolve your 404 problem.
How to Generate Sales LeadsSales

How to Generate Sales LeadsSales
Many successful small business owners are constantly looking to expand their customer base and grow their businesses. However, business growth can be a difficult and long-term process. One of the key elements of growing a business is constant access to a steady stream of sales leads. A lead is a person or business if you have a company that sells to other businesses that are interested in the products or services you sell.
Here are some tips for building a system that will help you identify sales leads in your small business, and - with the right focus and effort - turn them into customers.
1. Increase your engagement with your customers
Relationships are all about sales and talking to the people who reach out to you to do so. For example, when people reach you with questions about your product or company, instead of just mentioning them on your blog, you can ask them if they mind having a quick chat with you.
2. Constantly refresh your email lists
It is impossible to generate leads from an old email list that contains incorrect information or does not match the parameters of your target person. If you haven't cleaned up your email list for a while, you may still be cold-emailed people who are already your customers.
3. Use chatbots on your website
Customers want to do business with companies that respond promptly to questions. Although companies respond within 12 hours on average, research shows that consumers expect responses within 1 hour. You might think, "Well, but they know we're not working right now," or, "They'll surely understand that we're in another realm of time." While customers can understand and understand later, there are thousands of businesses offering services just like yours, so you don't want to take that opportunity.
4. Join and participate in social media groups
LinkedIn and Facebook are great places to connect with other professionals, share your skills, and find leads. Once you join a group, don't start by pitching members as this can cause people to separate. Instead, do the following to establish a relationship:
- Start a conversation
- Engage in other people's conversations
- People appreciated their content and the events they were planning to organize
Once the group members recognize you, you can use the platform to generate interest in your products.
5. Use SEO to increase website traffic
High ranking your website in search results will increase your website traffic. To get a better rank, you must do search engine optimization on your website. Some of the basics of SEO include:
- Keyword optimization on both landing pages and blog content
- Constantly great content post
- Link building
Again, it is important to point out that SEO and content creation can be technical and time-consuming.
6. Create a sales funnel
Once you know who you are targeting and decide how to reach them, you need to have a plan to collect contact information. The first part of the process involves funneling all prospects into a standard form or landing page that encourages them to share their contact information, usually in exchange for a free gift, coupon, sample, or any other value-added incentive.
7. Use an email newsletter to build relationships
Now that you’re in touch with prospects, it’s time to cultivate those relationships so you can take them from the lead stage through sales (and ultimately repeat sales). One of the best ways to keep in touch with your prospects is through an email newsletter.
How to add Shadow and Text on ImageView in AndroidAndroid Development

How to add Shadow and Text on ImageView in AndroidAndroid Development
Basically, it works like a stack where each view is stacked on top of the other.
Create a drawable file for shadow view and assign the name image_shadow and add the below code in this file.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="10dp" />
<gradient
android:angle="270"
android:centerX="300%"
android:endColor="#99000000"
android:startColor="#00000000"
android:type="linear" />
<size
android:width="270dp"
android:height="60dp" />
<stroke
android:width="1dp"
android:color="#878787" />
</shape>
Now, open the XML file and add the below code into it, and set this drawable file as view background.
<androidx.appcompat.widget.LinearLayoutCompat
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".MainActivity">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/imageView"
android:layout_width="250dp"
android:layout_height="250dp"
android:scaleType="centerCrop"
android:src="@drawable/shopping_image"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
<View android:id="@+id/view"
android:layout_width="250dp"
android:layout_height="250dp"
android:background="@drawable/image_shadow"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:textColor="@android:color/white"
android:text="Write your text here"
android:textSize="25sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/view"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
That's it. You should be ready to go.
How to increase 10 X salesSales

How to increase 10 X salesSales
Simply put, the rule of 10 X is taking any target you set for your company or sales team, and multiplying it by 10.
So if the goal is to increase revenue by 5% using the 10X rule, you will increase that goal to 50%.
What the 10X rule does is force you and your sales team to think in terms of LEVERAGE. Because all of a sudden, instead of focusing on the “real” goal, the goal is achieved through the roof.
Contact customer acquisition with a solid plan. Build a foundation by developing relationships with your target audience.
Achieve customers differently as you progress toward strategic goals. Here are four lessons to guide your team:
1. Create an engagement
It is highly unlikely that a first time visitor will stumble upon your website and automatically purchase your products. Potential customers should be fully engaged with your brand before making a purchase.
2. Be present on social media
If you are not present on social media, you are lost in a huge market that your competitors are already taking advantage of.
Having a social media presence should also not be expensive. Creating a business account on Facebook, Twitter, Instagram, and LinkedIn is free. Just join discussions and groups related to your industry. Provide helpful answers to questions and insights on various posts to make yourself known.
3. Keep your sales simple
Everyone is on sale, even if your job or business has no impact, Cardo told those in attendance. And many entrepreneurs and professionals overreact to it.
Sales is a game of touch. It’s about finding someone who can buy, who has the power to make decisions, and who is interested. Then you contact them with offer fur, talk price, and ask. It's not always easy, though it's really easy. The most successful salespeople focus on simplifying their sales process.
4. Put your problem customers
We have it all - the customers that we meet today or in the future take up more of our time for business.
5. All your customers are committed to staying in touch after purchasing from you
Keep an eye out for ways you can sell them extra items. Don’t keep your customers engaged to monopolize your time, but you can help them gain an understanding of strategy opportunities.
6. Host an event
Hosting an event is a great way to do this because it gives potential customers the opportunity to meet your brand on a more personal level. Depending on your product or service, you can either host a personal event where customers can meet you or host an online webinar where it still feels personal - just like you are in front of your audience.