我正在通過freecodecamp工作,並在他們告訴你的jQuery部分。將Animate.css庫添加到我的文檔中?
「我們已經在後臺包含了jQuery庫和Animate.css庫,以便您可以在編輯器中使用它們。
到目前爲止,我一直在完成練習,然後跳入記事本++和試驗代碼,直到我對自己的工作充滿信心。
我已經加入到我的記事本++文件
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
</script>
和
<link rel="stylesheet" href="css/animate.css">
和外部的我已經
<script>
$(document).ready(function() {
$("button").addClass("animated bounce");
});
</script>
有我添加了jQuery & Animate.css圖書館是否正確? 我創建的按鈕沒有反彈,因爲它們在freecodecamp 控制檯中。
完美工作了魅力!好一個。 –