diff --git a/index.html b/index.html index 9ee74a5..05751f9 100644 --- a/index.html +++ b/index.html @@ -1,46 +1,52 @@ -Rickroll Detector - - - - - - - - + Rickroll Detector + + + + + + + + -
- -
-
-

Rickroll Detector

- - -

- -
- -
+
+ +
+
+

Rickroll Detector

+ + +

+ +
+ +
+
-
- - + + \ No newline at end of file diff --git a/rickrollHistory.js b/rickrollHistory.js index e5fb246..3326542 100644 --- a/rickrollHistory.js +++ b/rickrollHistory.js @@ -34,8 +34,8 @@ function updateHistoryHTML() { var pelem = document.createElement("p"); var nodeURL = document.createTextNode(rickrollHistory[i]); var nodeRemButton = document.createElement("button"); - nodeRemButton.style.marginLeft = "10px"; - nodeRemButton.innerHTML = "-"; + nodeRemButton.style.marginLeft = "0.5em"; + nodeRemButton.innerHTML = " - "; nodeRemButton.setAttribute( "onclick", "javascript: removeFromHistory('" + rickrollHistory[i] + "');" ); pelem.appendChild(nodeURL); pelem.appendChild(nodeRemButton);