diff --git a/functions.php b/functions.php
index ce1f8ce..5ea36cc 100644
--- a/functions.php
+++ b/functions.php
@@ -3,7 +3,6 @@
function learningWordPress_resources() {
wp_enqueue_style('style', get_stylesheet_uri());
-
}
add_action('wp_enqueue_scripts', 'learningWordPress_resources');
diff --git a/header.php b/header.php
index 289c4ec..47d460f 100644
--- a/header.php
+++ b/header.php
@@ -5,6 +5,8 @@
+
+
diff --git a/js/smoothscroll.js b/js/smoothscroll.js
new file mode 100644
index 0000000..e896400
--- /dev/null
+++ b/js/smoothscroll.js
@@ -0,0 +1,13 @@
+jQuery(document).ready(function($){
+ $(window).scroll(function(){
+ if ($(this).scrollTop() < 200) {
+ $('#smoothup') .fadeOut();
+ } else {
+ $('#smoothup') .fadeIn();
+ }
+ });
+ $('#totop').on('click', function(){
+ $('html, body').animate({scrollTop:0}, 'fast');
+ return false;
+ });
+});
\ No newline at end of file