1.6 KiB
1.6 KiB
id, title, challengeType
id | title | challengeType |
---|---|---|
5cddbfd622f1a59093ec611d | Create a Module Script | 1 |
Description
module
. Here’s an example:
<script type="module" src="filename.js"></script>
A script that uses this module
type can now use the import
and export
features you will learn about in the upcoming challenges.
Instructions
module
and give it the source file of index.js
Tests
tests:
- text: <code>var</code> should not exist in code.
testString: getUserInput => assert(!getUserInput('index').match(/var/g),'<code>var</code> should not exist in code.');
Challenge Seed
<html>
// add your code below
// add your code above
</html>
Solution
<html>
// add your code below
// add your code above
</html>