摘要: html代码集 font【文字】 text【文本】 border【边框】 box【盒子】 img【图片】 a【超链接】 background【背景】 from【表单】 1.属性 2.文本框 3.密码框 4.提交按钮 5.按钮 6.重置按钮 7.文本域 position【定位】 overflow【溢出 阅读全文
posted @ 2019-08-17 16:49 豆芽菜小院 阅读(330) 评论(0) 推荐(0)
摘要: git.版本管理器使用手册 1.安装Git软件包 2.安装完成后鼠标右键菜单中打开git,在哪个目录打开默认到哪个目录。 3.网站仓库 https://github.com https://gitee.com/ 4.在仓库中创建项目根文件【项目名】 仓库创建好之后,点击克隆下载,会提供我们一个仓库地 阅读全文
posted @ 2019-08-16 17:09 豆芽菜小院 阅读(652) 评论(0) 推荐(0)
摘要: gulp.使用手册 Gulp 是基于node.js的流式自动化构建工具 gulp中文网 https://www.gulpjs.com.cn/ 1.Gulp的作用: 压缩文件,性能优化。 2.查看环境配置 因为Gulp是基于nodejs,理所当然需要安装nodejs 打开终端输入node v查看nod 阅读全文
posted @ 2019-08-15 21:33 豆芽菜小院 阅读(128) 评论(0) 推荐(0)
摘要: 原生代码创建服务器 js const http = require( 'http' ) const port = 3000 const hostname = 'localhost' // 127.0.0.1 http.createServer((request,response) = { respo 阅读全文
posted @ 2019-08-14 17:28 豆芽菜小院 阅读(123) 评论(0) 推荐(0)
摘要: 简易爬虫 作用 :通过后端语言爬取网站中的数据,然后通过特定模块进行数据清洗,最后将数据输出给前端。 反爬虫 解决: 给a标签的内容中放一张图片 步骤 1.引入http模块 2.复制node.js官网, http.get() 3.复制node.js官网, const options() 放在http 阅读全文
posted @ 2019-08-14 17:26 豆芽菜小院 阅读(98) 评论(0) 推荐(0)
摘要: zlib是一个压缩包的内置模块 fs是文件系统 const inp = fs.createReadStream('路径') // 创建可读的流 const out = fs.createWriteStream('路径') //创建可写的流 const gzlib = zlib.createGzlip 阅读全文
posted @ 2019-08-13 17:25 豆芽菜小院 阅读(228) 评论(0) 推荐(0)