Check out example codes for "3wscool". It will help you in understanding the concepts better.

Code Example 1

body {

  background-color: lightblue;
}


h1 {

  color: white;

  text-align: center;
}


p {

  font-family: verdana;

  font-size: 20px;
}

Learn ReactJs, React Native from akashmittal.com