content
1. Think: learn front-end knowledge
2. SIKI Academy: I refer to this video for practice
3.w3school official website: use it as a dictionary
4. Rookie Tutorial: Use as a Dictionary
5. Web Front End Season 1 (HTML): My own note-taking blog
6. Web Front End Season 2 (CSS): My own note blog
7. Web Front End Season 3 (JavaScript): My own note-taking blog
Action: 1: Success: 101 - What is jQuery
Action: 2: Success: 102 - jQuery download and introduction
1. Create jQuery project: success
1. Running result: success: import jQuery file
Operation: 3: Success: 103 - jQuery way to monitor the onload event of the web page
1. Running result: success: onload mode in 4
First, the purpose
1. Think: learn front-end knowledge
2. Thinking: Take notes, next time you don't need to watch the video, just look at the notes to quickly recall.
2. Reference
1. GitHub URL of my own code
GitHub - xzy506670541/WebTest: Web Frontend for SIKI Academy
2. SIKI Academy: I refer to this video for practice
- I refer to this video for practice
3.w3school official website: use it as a dictionary
4. Rookie Tutorial: Use as a Dictionary
Rookie Tutorial - Learning is not only technology, but also a dream!
5. Web Front End Season 1 (HTML): My own note-taking blog
6. Web Front End Season 2 (CSS): My own note blog
7. Web Front End Season 3 (JavaScript): My own note-taking blog
3. Attention
Action: 1: Success: 101 - What is jQuery
1. Running result: success:
What is jQuery?
jQuery is an encapsulated JavaScript framework that can implement some js functions more easily.
It provides a lot of easy-to-use, powerful stuff.
Compatible with all browsers.
Action: 2: Success: 102 - jQuery download and introduction
1. Download: successful
Find all jQuery versions
The download address of each version of jQuery
Save the jQuery file
1. Create jQuery project: success
Save the saved jQuery file here
1. Running result: success: import jQuery file
Operation: 3: Success: 103 - jQuery way to monitor the onload event of the web page
1. Running result: success: onload mode in 4
Note: Use $ must add write import jQuery code
<script type="text/javascript" src="./js/jQuery/jQuery%20Core%203.3.1-minified.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- 使用jQuery必须添加此句 -->
<!-- <script type="text/javascript" src="./js/jQuery/jquery-3.3.1.js"></script> -->
<script type="text/javascript" src="./js/jQuery/jQuery%20Core%203.3.1-minified.js"></script>
<script type="text/javascript">
// onload:方式1:
// function init() {
// alert("onload");
// }
//onload:方式2:
// function init() {
// alert("onload");
// }
// window.onload=init();
//onload:方式3:$用来指定网页加载完成后要执行的函数
// 必须要添加jquery,因为$是jQuery函数
// function init() {
// alert("onload");
// }
// $(init);
//onload:方式4:使用匿名函数
$(function() {
alert("onload");
});
</script>
</head>
<!-- onload:方式1: -->
<!-- <body onload="init()"> -->
<body>
</body>
</html>