GithubHelp home page GithubHelp logo

hyf-javascript1's People

Contributors

zydan1 avatar

Watchers

 avatar

hyf-javascript1's Issues

Feedback on Week3 homework

Hi Hamza
I think on Strings 1.5-1.6: it was meant to type a one-line sentence, but yours look like a programmer, cool.
@2.7: only giraffe should have been removed, you also removed the turtle!
No. 10 is not answered.
Questions 11 till 17 are not answered at all, hard ah?

Feedback homework week 2

Hi Hamza, here is my feedback on your homework.

  • Please create a week2 folder inside the hyf-javascript1 folder as requested and move your homework to that folder.

exercise 1

  • Pay attention to punctuation in your text strings: there should be a single space between words.
  • The correct English spelling is 'world'. In my VSCode the spelling checker has flagged the word 'worold' that you used.

exercise 2

  • The solution for the error with the single quote in I'm is not by just replacing it with a single space. The resulting phrase I m is incorrect English. Can you find a way to print I'm without producing the error?

exercise 3

  • There should not be a space between x and ;. If you applied the settings as we discussed in class then VSCode would correct this as you type. Can you please check the VSCode Tips and verify the settings for "editor.formatOnType" and ""editor.formatOnPaste"?

exercise 5

  • It is a standard practice to format if statements such that you start a new line after an opening brace and indent the block of code inside the braces, like this:
if (z > a) {
  console.log(z);
}
else {
  console.log(a);
}
  • There is another way to find the highest of two numbers. Google for 'mdn math' and see what you can find.

exercise 6

  • There is a spelling error in aaray
  • Be consistent in your use of upper- and lowercase. If you spell 'cat' etc. in all lowercase then do the same with 'dog'.

exercise 7

  • Find a way to add the missing single quote in it's length.

exercise 8

  • There is a striking resemblance of your solution with that of Elmira. Did you compare notes?
  • Mind the formatting of the if statements. See my earlier comment.

exercise 9

  • There are redundant spaces in this line % is the reminder result of dividing tow numbers. And a spelling error: tow

Finally, remove all the redundant blank lines at the end of your file. There should only be one blank line.

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.