Vamos a practicar bucles y condicionales, deberás abrir el archivo index.html y verlo en el navegador con Live Server, lee lo que muestra en pantalla y sigue las instrucciones que te permitirán practicar estructuras de control básicas de Javascript.
- Download the ZIP from GitHub which contains all required files.
- Extract the ZIP file in your device.
- Open the index.html file with your browser.
Requirement:
- Install Git in your device.
- Clone the repositoy from GitHub:
git clone https://github.com/J-uds/basic-js-II
or
git clone [email protected]:J-uds/basic-js-II.git
- Open the index.html file with your browser.
Requirements:
- Install Docker desktop in your device. Docker Desktop Download
- Download or clone the repository.
- Make sure that you are in the repository folder in the terminal
- Build an image from the Dockerfile.
docker build -t <image-name> -f <dockerfile-name> .
For example, using Dockerfile:
docker build -t basic-js-ii -f Dockerfile .
- Run the image to start the container.
docker run -p 8080:80 --name <container-name> <image-name>
For example:
docker run -p 8080:80 --name basic-js-ii-v1 basic-js-ii
- Open in a browser the port 8080.