Please enable JavaScript to use CodeHS

Desarrollo web

Lesson 2.5 Uso de varios archivos en JavaScript

Description

En esta lección, los estudiantes aprenden cómo organizar mejor sus archivos HTML separando sus scripts en un archivo ‘JS’ separado.


Objective

Students will be able to:

  • Write js files with the correct syntax
  • Properly load js files in the correct order, and explain why the order of script loading impacts usability and performance