<div id="root"></div>
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #10375c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  justify-content: center;
}

.plus {
  font-size: 60px;
  color: #ffff;
  cursor: pointer;
  user-select: none;
}

.minus {
  font-size: 60px;
  color: #ffff;
  cursor: pointer;
  user-select: none;
}

.num {
  margin: 0 50px 0 50px;
  color: rgb(150, 911, 905);
  font-size: 60px;
  user-select: none;
}
View Compiled
const Counter = () => (
  <div className="container" style={{ marginBottom: 40 }}>
    <div className="plus">+</div>
    <div className="num">0</div>
    <div className="minus">-</div>
  </div>
);

ReactDOM.render(
  <div>
    <Counter />
    <Counter />
    <Counter />
  </div>,
  document.getElementById("root")
);
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min.js