Learning Management System

Writing, Executing, and Compiling Code — Exercises

The example scripts can be found in Book 1 - Programming Step by Step and More.

Book 1 is for sale on Amazon.

Local Browser Client View

First Script of the Guide

Objective: Execute the HTML and JavaScript scripts containing the header image to verify what is displayed in the browser's client view, and to demonstrate how JavaScript can be embedded within HTML.

If the code contained within the image in the page header is executed, the following will be displayed in the browser:

1 - Placing the script ¡TEXT! inside HTML tags | h | p | div |

1.1 - Inside |h3| tags, ¡TEXT! is printed

1.2 - Inside |p| tags, ¡TEXT! is printed

1.3 - Inside |div| tags, ¡TEXT! is printed

2 - Writing JavaScript Commands and Functions.

JavaScript commands are enclosed within the |script| tag.
Example using the JavaScript method document.write();

Visual Studio Editor

Where do we write the code?

Entrenamiento

What is printed in the browser when the JavaScript code is executed—specifically, when running the `getElementById(id)` method and a `function()` inside `script` tags?

And what does the local browser console show?

TEXT is printed! 00-intro.html:119

This indicates that the instruction that was executed is located on line 119 of the document 00-intro.html.

Online Browser Client View (Interface)

QR code containing the link that leads directly to the online pages where the code for each of the exercises to be performed will be executed.

Enlace a 00-intro.html

Further on...

The steps required to acquire a domain are outlined.

And storage space on an online server.

How to manage a website using the server's cPanel.

Procedures for editing and publishing your own web pages.