My JSFiddle is functioning properly, but the files on my computer aren't. It seems like there might be an issue with how they are linking up or something that I may have overlooked. I've checked the console for errors, but nothing is popping up.
As a beginner in programming, any tips you could provide to point me in the right direction would be greatly appreciated. Thank you!
$( document ).ready(function() {
$('#show').click(function() {
var color = '#'+Math.floor(Math.random()*16777215).toString(16);
$('body').css('background-color', color );
});
});
body {
background: #fff18e;
}
<!DOCTYPE html>
<html lang="en">
<head>
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="javascript.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<title>Choose A COLOR!</title>
</head>
<body>
<button id="show">Surprise Me</button>
</body>
</html>