text and html

In this example below you will see how to do a text and html with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by 100974736, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 100974736 ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>text and html</title>
  
  
  
  
  
</head>

<body>

  <p class = "blue"><em>Emphasis</em> Me</p>
<p><b>Hello</b></p>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/100974736/text-and-html-amVZdo */
var placeHolderStr = $(".blue").html();
var secondP = $("p:last");
//console.log(secondP);
//$("p:last").html(placeHolderStr);
secondP.text(ceva);

Comments