Skip to content

Commit

Permalink
reset code to be generic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Brown committed Jul 22, 2021
1 parent aaf0031 commit 53e4c96
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 46 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# js-dev-environment
This is a generic template for a development environment. Also, it contains exercise files. possibly. . . not sure.
This is a generic template for a development environment.
Binary file modified jsDev.fmp12
Binary file not shown.
16 changes: 12 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"license": "ISC",
"dependencies": {
"bootstrap": "^5.0.2",
"fm-webviewer-fetch": "^1.1.0",
"open": "^8.2.1"
"fm-webviewer-fetch": "^1.1.0"
},
"devDependencies": {
"open": "^8.2.1",
"parcel-bundler": "^1.12.5",
"parcel-plugin-inliner": "^1.0.16"
}
Expand Down
16 changes: 0 additions & 16 deletions public/exercise-one/index.html

This file was deleted.

5 changes: 0 additions & 5 deletions public/exercise-one/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions public/exercise-two/index.html

This file was deleted.

3 changes: 0 additions & 3 deletions public/exercise-two/index.js

This file was deleted.

8 changes: 6 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<title>JSDev</title>
</head>
<body>
<h1>Begin exercises</h1>
<button id="click">Click Me</button>
<h1>Let's Begin!</h1>
<div class="row">
<div class="col"><button id="click">Click Me</button></div>
<div class="col-11"><p id="text"></p></div>
</div>

<script src="index.js"></script>
</body>
</html>
7 changes: 6 additions & 1 deletion public/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import "bootstrap/dist/css/bootstrap.min.css";
import "./style.css";
const setText = () => {
document.getElementById("text").innerHTML =
"We are beginning! Oh Yes, we are!";
};

document.getElementById("click").addEventListener("click", () => alert("HI"));
document.getElementById("click").addEventListener("click", setText);
7 changes: 7 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body{
margin:0;
padding-left:10px;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

0 comments on commit 53e4c96

Please sign in to comment.