<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
.one{
color:red;
}
</style>
</head>
<body>
<p class="one">Click on the button to remove the "one" class to this paragraph.</p>
<button onclick="myFunction()">Click Me</button>
<script>
var elem = document.getElementsByTagName("p")[0];
function myFunction(){
elem.classList.remove("one");
}
</script> </body>
</html>