zydan1 / hyf-javascript1 Goto Github PK
View Code? Open in Web Editor NEWjavascript 1 homework
javascript 1 homework
Hi Hamza, here is my feedback on your homework.
week2
folder inside the hyf-javascript1
folder as requested and move your homework to that folder.exercise 1
exercise 2
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
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
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);
}
exercise 6
aaray
'cat'
etc. in all lowercase then do the same with 'dog'
.exercise 7
it's length
.exercise 8
if
statements. See my earlier comment.exercise 9
% 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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.