Hej, na stronie codeacademy robię ćwiczenie, w którym trzeba zrobić kalkulator. Jestem dopiero na 4-tym etapie. Wykorzystując jQuery należy: "Change the .text() of the div of the id lets_go to Lemme Go!". Na podglądzie niby jest OK, ale gdy próbuję zapisać kod i przejść dalej, to ciągle wyskakuje komunikat: "Oops, try again. Don't forget to add the $(document).ready() function!". Jakieś sugestie?
Link do zadania: https://www.codecademy.com/en/courses/web-intermediate-en-jfhjJ/0/4#
A oto kody:
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<link rel="stylesheet" href="style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src='script.js' type="text/javascript"></script>
</head>
<body>
<div id="lets_go"></div>
</body>
</html>
#lets_go {
width: 100px;
height: 50px;
background-color: blue;
}
$( document ).ready(function() {
$("#lets_go").text("Lemme Go!");
});