how to make a div class code example
Example 1: css how to style a div
/*
<div class="#">
<p>Hello World</p>
</div>
*/
/*put a dot in front of the name from your class*/
.#{
display: block;
margin: auto;
width: 50%;
}
Example 2: html create class
<h1 class="write a name">H1 content</h1>