diff --git a/_sidebar.md b/_sidebar.md index dd34011b8447c314e1011d705573f80c745c56ae..96aceef8ac6980de43285bcd1965d44bbce9d89d 100644 --- a/_sidebar.md +++ b/_sidebar.md @@ -4,6 +4,8 @@ - [Javascript](doc/javascript.md) - [Css](doc/css.md) - [Canvas](doc/canvas.md) + - [微信小程序](doc/miniprogram.md) + - [Vue.js](doc/vue.md) - 后端 diff --git a/blog/demo/demo.html b/blog/demo/demo.html new file mode 100644 index 0000000000000000000000000000000000000000..e11958a0f785087d59432e3d293b2d2b46230cfe --- /dev/null +++ b/blog/demo/demo.html @@ -0,0 +1,52 @@ + + + + + + + + Document + + + + + +
+

{{count}}

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/blog/front-edn-learn.md b/blog/front-edn-learn.md new file mode 100644 index 0000000000000000000000000000000000000000..9ef6f12fd252e0c8b2e3fea7235127ae3ca6b159 --- /dev/null +++ b/blog/front-edn-learn.md @@ -0,0 +1,177 @@ +# 笔记:web 前端开发入门 + + + +[](demo/demo.html ':include :type=code') + +[](demo/demo.html ':include height=95px') + +## 资源 + +[2022 年前端学习路线图](https://www.bilibili.com/read/cv10431130) + +[黑马程序员 web 前端开发入门教程,前端零基础 html5+css3+前端项目视频教程](https://www.bilibili.com/video/BV1Kg411T7t9) + +[菜鸟教程-HTML 教程- (HTML5 标准)](https://www.runoob.com/html/html-tutorial.html) + +## HTML 认知 + +1、常见 5 大浏览器 + +- IE +- 火狐 FireFox +- 谷歌 Chrome +- Safari +- 欧朋 Opera + +2、渲染引擎 + +| 浏览器 | 内核 | +| ------------ | ------- | +| IE | Trident | +| FireFox | Gecko | +| Safari | Webkit | +| Chrome/Opera | Blink | + +3、Web 标准 + +保证不同浏览器打开页面显示效果一样 + +| 构成 | 语言 | 说明 | +| ---- | ---------- | -------- | +| 结构 | HTML | 页面元素 | +| 表现 | CSS | 页面样式 | +| 行为 | JavaScript | 页面交互 | + +4、HTML + +Hyper Text Markup Language 超文本标记语言 + +5、hello world + +需要设置显示`文件扩展名` + +文件扩展名:`.html` + +index.html + +```html +hello world +``` + + + hello world + + +6、HTML 骨架 + +```html + + + + + + + +``` + +- html 最外层标签 +- head 头部 +- title 标题 +- body 主体 + +7、开发工具 + +- Visual Studio Code (首选) +- WebStorm +- Sublime Text +- DreamWeaver +- HBuilder + +8、VS Code 使用 + +快速生成 html 网页结构: + +- `! + Tab` 多了一行代码`` +- `doc + Tab` + +快捷键 + +- 浏览器打开:`Alt + B` / `option⌥ + B` +- ÏLive Server 打开:`[command⌘ + L, command⌘ + O]` + +9、注释 + +```html + +``` + +- 浏览器中不显示注释内容 +- 添加和取消注释快捷键:`command + /` + +10、标签结构 + +- 双标签 `<开始标签>内容`, 例如:`内容` +- 单标签 `<标签 />`, 例如:`
` + +11、标签关系 + +- 父子关系(嵌套关系) + +```html + + + +``` + +- 兄弟关系(并列关系) + +```html + + +``` + +12、标题标签 Heading + +`h1~h6` + +```html +

一级标题

+

二级标题

+

三级标题

+

四级标题

+
五级标题
+
六级标题
+``` + + +

一级标题

+

二级标题

+

三级标题

+

四级标题

+
五级标题
+
六级标题
+
+ +同时选中下一个相同字符:`command + D` + +特点: + +- 独占一行 +- 文字加粗 +- 文字变大,h1->h6 文字逐渐变小 + +13、段落标签 paragraph + +```html +

内容

+``` + + +

内容

+
+ +特点: + +- 段落之间存在间隙 +- 独占一行 diff --git a/doc/canvas.md b/doc/canvas.md index 49d32d09e2d025ad2bea8cefc6f8c075028da809..4ebd5c10e59b3224e4f9f69f4a308a3739f1f4c4 100644 --- a/doc/canvas.md +++ b/doc/canvas.md @@ -1,6 +1,6 @@ # canvas -[菜鸟教程 - HTML5 参考手册](https://www.runoob.com/tags/ref-canvas.html) +[菜鸟教程 - HTML5 \ 参考手册](https://www.runoob.com/tags/ref-canvas.html) [html:canvas 画布绘图简单入门](https://pengshiyu.blog.csdn.net/article/details/122143631) diff --git a/doc/html.md b/doc/html.md index deaacbc4a8c88d6313a9b0e87ff790ad8a7dffdc..0264070a91d1df67ebd73c6601437714782861d6 100644 --- a/doc/html.md +++ b/doc/html.md @@ -1,5 +1,7 @@ # html +[笔记:web前端开发入门](blog/front-edn-learn.md) + [HTML 快速参考](https://www.w3school.com.cn/html/html_quick.asp) [https://www.w3.org/](https://www.w3.org/) diff --git a/doc/javascript.md b/doc/javascript.md index d64faac7e11d93494a32b5a55287e9e9dfe1314c..10c094520e6b179f839d6c454417f805d8a83411 100644 --- a/doc/javascript.md +++ b/doc/javascript.md @@ -48,6 +48,8 @@ [UIkit](https://getuikit.com/): A lightweight and modular front-end framework for developing fast and powerful web interfaces. +[html2canvas](http://html2canvas.hertzen.com/): Screenshots with JavaScript + ## Node.js https://npm.devtool.tech/ diff --git a/doc/miniprogram.md b/doc/miniprogram.md new file mode 100644 index 0000000000000000000000000000000000000000..9525a04c1cd05defa06198e4b5f8a6210fbfbdad --- /dev/null +++ b/doc/miniprogram.md @@ -0,0 +1,13 @@ +# 微信小程序 + +[微信官方文档-微信小程序](https://developers.weixin.qq.com/miniprogram/dev/framework/) + +[wechat-miniprogram](https://github.com/wechat-miniprogram) + +[微信小程序开发资源汇总](https://github.com/justjavac/awesome-wechat-weapp) + +[稀土掘金-微信小程序](https://juejin.cn/tag/微信小程序) + +## 开发资源 + +[Vant Weapp](https://vant-contrib.gitee.io/vant-weapp/): 有赞前端团队开源,轻量、可靠的小程序 UI 组件库 \ No newline at end of file diff --git a/doc/php.md b/doc/php.md index 0594b63e25a5ba27ed5e7eab8eba7f982627d52d..06a0fe8422a618588f80508984fb058f26747fd8 100644 --- a/doc/php.md +++ b/doc/php.md @@ -1,3 +1,9 @@ # PHP -[PHP 手册](https://www.php.net/manual/zh/index.php) \ No newline at end of file +[PHP 手册](https://www.php.net/manual/zh/index.php) + +[黑马程序员 PHP 零基础入门到精通教程(P1 基础 6 天)](https://www.bilibili.com/video/BV18x411H7qD) + +[PHP零基础入门到精通教程(P2 mysql数据库5天)](https://www.bilibili.com/video/BV1Vx411g7uJ) + +[PHP零基础入门到精通教程(P3 核心编程技术)](https://www.bilibili.com/video/BV1jx411M7B7) \ No newline at end of file diff --git a/doc/vue.md b/doc/vue.md new file mode 100644 index 0000000000000000000000000000000000000000..ffab78f91a5af81b7122c6b42294721cb60b54a9 --- /dev/null +++ b/doc/vue.md @@ -0,0 +1,6 @@ +# Vue.js + +```html + + +``` diff --git a/index.html b/index.html index fcea156fdf2eb48ca2039036ec8a48e6a7598214..cbd4cf4d05244e1cc342fc80392f27d166c87eae 100644 --- a/index.html +++ b/index.html @@ -13,13 +13,16 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + +
Please wait...
+ - + - - + \ No newline at end of file diff --git a/package.json b/package.json index 61d0032de6020c17410bb5a6d039827faf72b800..65f71dee908dd168bbccb930983fba50c82b8b07 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "spring-boot-demo", + "name": "coding-tree", "version": "1.0.0", - "description": "项目地址:", + "description": "", "main": "index.js", "private": true, "scripts": { @@ -9,13 +9,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/mouday/Spring-Boot-Demo.git" + "url": "git+https://github.com/mouday/coding-tree.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { - "url": "https://github.com/mouday/Spring-Boot-Demo/issues" + "url": "https://github.com/mouday/coding-tree/issues" }, - "homepage": "https://github.com/mouday/Spring-Boot-Demo#readme" + "homepage": "https://github.com/mouday/coding-tree#readme" }