Check out example codes for "how to bold in css". It will help you in understanding the concepts better.

Code Example 1

font-weight: bold;

Code Example 2

we can set text bold using css property named 'font-weight'
Syntax:
selector{
  font-weight: bold;
}

Code Example 3

.text {
	font-weight: bold;
}

Learn ReactJs, React Native from akashmittal.com