Coder Social home page Coder Social logo

reactjs-practice's People

Contributors

yipeng945 avatar

Watchers

 avatar  avatar

reactjs-practice's Issues

Feedback for Components_hw4

One suggestion:

For the css layout part, try use flexbox or CSS grid instead of float, percentage of width, etc. It is more powerful and most of the companies have already moved to flexbox and CSS grid from traditional layout methods.

Feedback for Components_hw3

Timer issue

So suppose that the time when I press the start button is 0 sec.
Then at 1.8 sec the number showing is 1, I press reset button.
Then I should see the number jump to 0 from 1 (which is good in your code), also I should see the number jump to 1 from 0 at 2.8 sec, because I reset the timer at 1.8 sec.

The actual result of your code is that I will see the number jump to 1 from 0 at 2 sec instead of 2.8 sec.

Normally I don't talk about this issue, since you are good for the basic, I think it's good to let you know this.


Have a try if you have time

You can try to implement the timer just using setTimeout instead of setInterval.

Feedback for Components_hw5

Glad to see you implemented the date process part yourself :)

Normally for Date/Time operations we don't do it by hand cause there is one standard library to do help us, check out moment.js: https://momentjs.com

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.