Giter Site home page Giter Site logo

hyf-javascript1's People

Contributors

jamsrahimi avatar

Watchers

 avatar

Forkers

elmira202003

hyf-javascript1's Issues

Feedback homework week 2

Hi Jams, here is my feedback on your homework.

exercise 3

  • Just a tip: if you use double quotes to define a string you do not need to escape single quotes within that string. And vice versa. For instance:
console.log("The value of x will be: \"Integer value '179' as defined\"");

exercise 5

  • In line 10, there should normally be a space after a comma in a parameter list. If you added the correct settings in VSCode this should happen automatically as you type. Can you check your settings as listed here in VSCode Tips?

exercise 6

  • You can say that the array is empty but it is not undefined.
  • I like your use of const here. I prefer to use const over let whenever I can.
  • Make sure that you are consistent in your use of upper- and lowercase. In your case, when you have "Bat" and "Dinosaur" I would also expect "Baby Pig".
  • Make sure to add a space following a comma in your array definitions. Again, this should happen automatically if you have the right settings in VSCode.

exercise 7

  • I note your marital status is not a const ๐Ÿ˜
  • You will have noticed that typeof an array is actually object and not array. An array is regarded as a special type of object.

execise 8

  • I see you were having some fun with arrays. But when you compare two values make sure that you use the triple form ===.

Despite your 'procrastination' you've done an excellent job. You seem to have a good grasp of the concepts and your code is well-formatted and well organised. Well done!

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.