We’ll cover the following
- The web browser console
- Hello World!
- The DOM
The web browser console
If you have taken a basic programming course, you would know that you can print things on to the terminal. For example, you can use
cout << string in C++ to print
If this were part of the front-end code run on a browser, “Hello World!” would get printed onto the console.
<script> tag. For example,
You can place an external script reference in the
<head> or the
<body>. The imported script will behave as if it was written exactly where the
<script> tag is located.
Notice how in HTML files, there is one main
That’s it for this chapter! We hope you now have a basic idea of how most websites work on the front-end. In the next chapter, we’ll dive into the basics of website back-end programming!
You have successfully completed the post.