dianaayoub / hyf-javascript1 Goto Github PK
View Code? Open in Web Editor NEWJavascript1 homework
Javascript1 homework
well done!
Hi Diana, here is my feedback on your homework.
.eslintrc.json
file in the root folder of your repo (i.e. folder hyf-javascript1
). Please check the VSCode Tips on why and how to create this file.step2.js
step3.js
=
, like in x = 5;
. VSCode will do this automatically for you as you type if you apply some settings as we did in class. Can you please check the VSCode Tips and verify the settings for "editor.formatOnType"
and ""editor.formatOnPaste"
?step4.js
step5.js
if
statement using multiple lines, like this:if (a > z) {
y = a;
}
else {
y = z;
}
step6.js
'
quotes or double "
quotes, but make a choice and then stick to it.step7.js
let x = 9;
let y = 'Hello';
step8.js
if
statements.Change:
console.log(typeof x);console.log("the value of x will be:'number'");
to:
console.log(typeof x);
console.log("the value of x will be:'number'");
:
should be followed by a space.SAME TYPE
then I would also expect DIFFERENT TYPE
: use upper- and lowercase consistently.step9.js
:
.step10.js
As you can see my comments were all about formatting. Functionality-wise your code is 100% correct. So pay attention to formatting, but for the rest: well done!
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.