Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Certificates: Formatting code with code block markdown #8353

Merged
merged 2 commits into from
Aug 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Apply Functional Programming to Convert Strings to URL Slugs
---
## Apply Functional Programming to Convert Strings to URL Slugs

```javascript
// the global variable
var globalTitle = "Winter Is Coming";

Expand All @@ -16,3 +17,4 @@ return title.split(/\W/).filter((obj)=>{
// Add your code above this line

var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming"
```