This repository contains some examples for an introduction to JavaScript.
These examples include:
- Primitive data types in JS and basic interaction (
alert()
,prompt()
) - Object structure and simple comparisons
- Introduction to function declarations
- Creating DOM elements and removing them from the DOM structure
Hint: In order to inspect the several examples just link the respective JS file in provided script
tag of the index.html
file, as for instance:
<h1>Hogwarts JS Summer Camp</h1>
<script src="4-create-dom-elements.js"></script>