Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created September 15, 2020 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/362903b84c3a10626f6aa5a8a4fe5fdb to your computer and use it in GitHub Desktop.
Save velotiotech/362903b84c3a10626f6aa5a8a4fe5fdb to your computer and use it in GitHub Desktop.
function App() { // App
return (
<div className="wrapper"> // W
<div className="list"> // L
<div className="list_item">List item A</div> // LA
<div className="list_item">List item B</div> // LB
</div>
<div className="section"> // S
<button>Add</button> // SB
<span>No. of items: 2</span> // SS
</div>
</div>
);
}
ReactDOM.render(<App />, document.getElementById('root')); // HostRoot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment