Skip to main contentSkip to main content
Room Banner
Back to all walkthroughs
Room Icon

JavaScript Essentials

Premium room

Learn how to use JavaScript to add interactivity to a website and understand associated vulnerabilities.

easy

60 min

66,655

User profile photo.
User profile photo.
User profile photo.

To access material, start machines and answer questions login.

JavaScript (JS) is a popular scripting language that allows web developers to add interactive features to websites containing HTML and CSS (styling). Once the HTML elements are created, you can add interactiveness like validation, onClick actions, animations, etc, through JS. Learning the language is equally important as that of HTML and CSS. The JS scripts are used primarily with HTML.

This room is designed as an introductory overview of JS, specifically tailored for beginners with limited JS experience. The primary focus is on teaching the fundamentals of JS from a cyber perspective and how hackers utilise legitimate functionalities to achieve malicious results.

Room Prerequisites

Learning Objectives

  • Understand the basics of JS
  • Integrating JS in HTML
  • Abusing Dialogue Function
  • Bypassing Control Flow Statements
  • Exploring Minified Files

Connecting to the Machine

You can start the virtual machine by clicking Start Machine. The machine will start in a split-screen view. If the VM is not visible, use the blue Show Split View button at the top-left of the page. Please wait 1-2 minutes after the system boots completely to let the auto scripts run successfully.

Note: All the scripts we create in this room are also available in the exercise folder on the Desktop of the attached , as shown below. If you find it difficult to create the scripts yourself, you can also use the provided ones.

desktop of attached VM

Let's begin!

        
Answer the questions below

I have successfully started the attached VM.

Ready to learn Cyber Security?

The JavaScript Essentials room is only available for premium users. Signup now to access more than 500 free rooms and learn cyber security through a fun, interactive learning environment.

Already have an account? Log in

We use cookies to ensure you get the best user experience. For more information see our cookie policy.