1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:
npx create-react-app my-awesome-project
cd my-awesome-project
npm start
2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:
npm install [email protected] --save
npm start //For start project again
3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:
import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';
function App() {
return (
<div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
<div class="container">
<div class="row">
<div class="col-lg-5 col-md-6">
<div class="mb-2">
<img class="w-100" src="https://bootdey.com/img/Content/avatar/avatar7.png" alt=""/>
</div>
<div class="mb-2 d-flex">
<h4 class="font-weight-normal">John Doe</h4>
<div class="social d-flex ml-auto">
<p class="pr-2 font-weight-normal">Follow on:</p>
<a href="#/" class="text-muted mr-1">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#/" class="text-muted mr-1">
<i class="fab fa-twitter"></i>
</a>
<a href="#/" class="text-muted mr-1">
<i class="fab fa-instagram"></i>
</a>
<a href="#/" class="text-muted">
<i class="fab fa-linkedin"></i>
</a>
</div>
</div>
<div class="mb-2">
<ul class="list-unstyled">
<li class="media">
<span class="w-25 text-black font-weight-normal">Profession:</span>
<label class="media-body">Design</label>
</li>
<li class="media">
<span class="w-25 text-black font-weight-normal">Experience: </span>
<label class="media-body">10 Years</label>
</li>
<li class="media">
<span class="w-25 text-black font-weight-normal">Phone: </span>
<label class="media-body">789 456 1230</label>
</li>
<li class="media">
<span class="w-25 text-black font-weight-normal">Email: </span>
<label class="media-body">[email protected]</label>
</li>
<li class="media">
<span class="w-25 text-black font-weight-normal">Location: </span>
<label class="media-body">5557 Cottey St Fort Worth, Texas(TX), 76119, New York, USA</label>
</li>
</ul>
</div>
</div>
<div class="col-lg-7 col-md-6 pl-xl-3">
<h5 class="font-weight-normal">Biography of Paul Flavius</h5>
<p>Along with your plans, you should consider developing an action orientation that will keep you motivated to move forward at all times. This requires a little self-discipline, but is a crucial component to achievement of any kind. Before starting any new activity, ask yourself if that activity will move you closer to your goals. If the answer is no, you may want to reconsider doing it at that time.</p>
<div class="my-2 bg-light p-2">
<p class="font-italic mb-0">The price is something not necessarily defined as financial. It could be time, effort, sacrifice, money or perhaps, something else.</p>
</div>
<ul class="list list-unstyled mb-3">
<li class="text-secondary font-weight-normal mb-1">
<span class="ti-arrow-right pr-1 text-primary"></span>
Commitment is something that comes from understanding that!
</li>
<li class="text-secondary font-weight-normal mb-1">
<span class="ti-arrow-right pr-1 text-primary"></span>
Its price and then having the willingness to pay that price.
</li>
<li class="text-secondary font-weight-normal mb-1">
<span class="ti-arrow-right pr-1 text-primary"></span>
Out after the fact that the price was too high.
</li>
<li class="text-secondary font-weight-normal mb-1">
<span class="ti-arrow-right pr-1 text-primary"></span>
This is important because nobody wants to put significant.
</li>
</ul>
<h5 class="font-weight-normal">Personal Experience</h5>
<p>It is truly amazing the damage that we, as parents, can inflict on our children. So why do we do it? For the most part, we don’t do it intentionally or with malice. In the majority of cases, the cause is a well-meaning but unskilled or un-thinking parent, who says the wrong thing at the wrong time, and the message sticks – as simple as that!</p>
<div class="mb-2 mt-2 pt-1">
<h5 class="font-weight-normal">Skill</h5>
</div>
<div class="py-1">
<div class="progress">
<div class="progress-bar" role="progressbar" style={{/*width:85%*/}} aria-valuenow="85" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar-title">Finance</div>
<span class="progress-bar-number">85%</span>
</div>
</div>
</div>
<div class="py-1">
<div class="progress">
<div class="progress-bar" role="progressbar" style={{/*width:70%*/}} aria-valuenow="70" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar-title">Information Technologies</div>
<span class="progress-bar-number">70%</span>
</div>
</div>
</div>
<div class="py-1">
<div class="progress">
<div class="progress-bar" role="progressbar" style={{/*width:77%*/}} aria-valuenow="77" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar-title">Education</div>
<span class="progress-bar-number">77%</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
export default App;
4. Now we need to add below code into our my-awesome-project/src/App.css file :
body{
color: #888888;
margin-top:20px;}
.progress {
position: relative;
overflow: inherit;
height: 6px;
margin: 30px 0px 15px;
width: 100%;
display: inline-block;
border-radius: 10px;
}
.progress .progress-bar {
height: 6px;
background: #009b72;
border-radius: 10px;
}
.progress .progress-bar-title {
position: absolute;
left: 0;
top: -30px;
color: #818181;
font-size: 16px;
}
.progress .progress-bar-number {
position: absolute;
right: 0;
color: #888888;
top: -30px;
font-weight: 600;
font-size: 14px;
}
.media {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
}
.media-body {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.text-black {
color: #000000;
}
.font-weight-normal {
font-weight: 500 !important;
}
.w-25 {
width: 25% !important;
}
.text-muted {
color: #b2b2b2 !important;
}
.mr-1, .mx-1 {
margin-right: 0.625rem !important;
}