fix(guide): restructure curriculum guide articles (#36501)

* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
This commit is contained in:
Randell Dawson
2019-07-24 00:59:27 -07:00
committed by mrugesh
parent c911e77eed
commit 1494a50123
990 changed files with 13202 additions and 8628 deletions

View File

@@ -1,21 +1,27 @@
---
title: Import a Default Export
---
## Import a Default Export
# Import a Default Export
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
Importing an export default is almost the same as importing a normal export; you just don't need the curly braces to define the name of what you're importing from the file!
## Hint 1:
---
## Hints
### Hint 1
Fill in the blanks: `import _ from "file-name"`. Plug in your module's name (which is `subtract`) into `_`, and put `"math-functions"` into `"file-name"`.
## Spoiler Alert - Solution Ahead!
## Solution:
---
## Solutions
<details><summary>Solution 1 (Click to Show/Hide)</summary>
```javascript
"use strict";
import subtract from "math_functions";
subtract(7,4);
subtract(7, 4);
```
</details>