摘要: 1 2 3 4 5 6 7 8 9 用户名: 10 密 码: 11 12 13 14 1 const http = require('http'); 2 const queryString = require('querystring'); 3 const util = require('util'... 阅读全文
posted @ 2019-06-30 23:57 疏影横斜水清浅 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 1 const http = require('http'); 2 3 let server = http.createServer((req, res)=>{ 4 res.end('hello, world!'); 5 }); 6 7 server.listen(3000, '127.0.0.1', ()=>{ 8 console.log('服务器已经启动!... 阅读全文
posted @ 2019-06-30 23:54 疏影横斜水清浅 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1 // 引入http模块 2 let http = require('http'); 3 4 /* 5 // 创建一个web服务器 6 let server = http.createServer((req, res)=>{ 7 res.end('Hello, itLike~~~~~~~~~~~ha ha ha'); 8 }); 9 10 // 监听 11 ser... 阅读全文
posted @ 2019-06-30 17:15 疏影横斜水清浅 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 let fs = require('fs'); 2 3 2. 同步读取 4 let fd = fs.readFileSync(__dirname + '/source/a.txt'); 5 console.log(fd); 6 console.log(fd.toString()); 7 8 console.log('后续的操作'); 9 10 3. 异步读取 11 f... 阅读全文
posted @ 2019-06-30 17:14 疏影横斜水清浅 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1 @charset "UTF-8"; 2 /*初始化*/ 3 blockquote, body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, input, legend, li, ol, p, pre, td, textarea, th, ul { 4 margin: 0; 5 pad... 阅读全文
posted @ 2019-06-30 16:17 疏影横斜水清浅 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 设置根元素 html{ font-size: 10px; } body{ font-size: 1.6rem; } #box1{ width: 20rem; height: 30rem; background-color: red; } #box2{ width: 25rem; height: 15 阅读全文
posted @ 2019-06-30 15:49 疏影横斜水清浅 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 42 43 44 45 1 46 2 47 3 48 49 50 阅读全文
posted @ 2019-06-30 15:41 疏影横斜水清浅 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 51 52 53 54 55 56 中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间... 阅读全文
posted @ 2019-06-30 15:31 疏影横斜水清浅 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 (没有flex之前) 2 3 4 5 6 7 8 61 62 63 64 65 66 67 中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏中间栏... 阅读全文
posted @ 2019-06-30 15:28 疏影横斜水清浅 阅读(161) 评论(0) 推荐(0) 编辑
摘要: day-6 阅读全文
posted @ 2019-06-30 13:19 疏影横斜水清浅 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1 布局方案 2 1、版心布局 3 top 4 banner 5 main 6 footer 7 8 2、左右布局 9 top 10 banner 11 12 left 13 right 14 15 footer 1 div{ 2 ... 阅读全文
posted @ 2019-06-30 01:30 疏影横斜水清浅 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1 a标签 target属性 _blank _self 2 描点 :<a href="id">2 演艺经历</a> <div id="id></div> 1 <fieldset> 2 <legend>用户登录</legend> 3 用户名: <label><input type="text"/></ 阅读全文
posted @ 2019-06-30 00:47 疏影横斜水清浅 阅读(124) 评论(0) 推荐(0) 编辑