Coder Social home page Coder Social logo

ife-2017's People

Contributors

urnotlcxz avatar

ife-2017's Issues

对任务一、二的Review

代码格式问题

代码格式一定要注意,养成良好的习惯

  1. Doctype声明建议用 <!DOCTYPE html>
  2. 保持好缩进,一般缩进设置为4个空格最佳
  3. CSS或JS文件一般单独写在一个文件中,便于维护

布局问题

布局上基本上没有什么大问题,把握的还不错,有以下几点注意:

  1. CSS一开始一般进行Reset,即对CSS默认的格式进行一致化,例如 * {margin: 0; padding: 0}
  2. 元素 idclass 属性,一般写CSS用 class 居多,id 主要是用于 JS 的选择器
  3. 表单换行的时候,不要用 <br> 标签,一般一个表单外面包着一个 <p> 标签,通过 <p> 标签控制距离

总结:代码格式规范好,布局多做练习,往后会越做越熟练的,保持信心,加油!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.