instead reset your code and do not delete existing elements
a p element starts with an opening tag <p> and ends with a closing tag </p> and will also have some text inside (there is written what text to put), so you will end with something like <p>Some text</p>