You may already know that the structure of the content in a web page (headings, paragraphs etc) is defined by HTML, or Hyperttext Markup Language. You may also know that the style of your web page (colors, fonts etc) can be manipulated by using CSS, or Cascading Style Sheets.
Next open both of these files in a text editor so you can edit them. You can also use a free source code editor such as Notepad++ for this purpose.
Edit your HTML file.
<html> <head> <title>Simple Page</title> </head> <body> <p>Just a simple page</p> <script src = "beginner.js"></script> </body> </html>
Save this file.
If you’re new to HTML, just know that HTML is a markup language and not actually a programming language. Just by going through the above lines you will see that HTML simply takes care of the structure of your web page. It defines the headings, paragraphs etc. of the web page.
Now it’s time to edit the beginner.js file in your text editor.
Save this file too.