How to link jquery to html in website page


#1

I was looking to try the codes i learned before "Make an interactive website ", pasted them in notepad++ to build a test-webpage to see how it works , i pasted the html code in newsjs.html , js in news.js and finally css in style.css put them all in same folder ; when i clicked on test.html , the page has been loaded but without js or css , i add this lines to my html code

<!doctype html>
<html>
  <head>
    <link href="http://s3.amazonaws.com/codecademy-content/courses/ltp2/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
 <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
  <script type="text/javascript" src="newsjs.js">
  </script>

how to get it right ??
Thanks in advance