Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 707 Bytes

ex_25.md

File metadata and controls

37 lines (33 loc) · 707 Bytes

Exercise 25

  • Create the following folder/file structure:
/ex_25
  |-- index.html

index.html

  • Create a basic HTML document
  • Create a script tag on the document head element
  • Add the following html code
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>It's all JavaScript Baby!!</title>
  </head>
  <body>
  </body>
</html>
  • Select the body element
  • Create a h1 element
  • Add the h1 element the following content:
Create Dynamic content!!!
  • Create a paragraph element
  • Add the p element the following content:
This elements were created using JavaScript
  • Inster the h1 element into the body element
  • Inster the paragraph element into the body element