Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ $ git push origin master

## Exercise


### Linking the `.js` file to the `index.html`

Before starting, the first step is to link our script file `basic-algorithms.js` with the `index.html` file.

To do this add the `<script></script>` tag inside the `<body></body>` tags. Put it just before the closing `</body>` tag.

<br>

### Iteration 1: Names and Input

1. Create a variable `hacker1` with the driver's name
Expand Down
26 changes: 26 additions & 0 deletions basic-algorithms.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
// Names and Input
// 1.

// 2.

// 3.

// 4.

//

//Conditionals

// 5.

//

// Loops
// 6.

// 7.

// https://en.wikipedia.org/wiki/List_of_Unicode_characters#Latin_script

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt

// 8.

// Palindrome check
// 9.

// Lorem ipsum generator
// 10.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>JS | Basic Algorithms</h1>


<!-- Add your script here-->
</body>
</html>