thwjason / hyf-javascript2 Goto Github PK
View Code? Open in Web Editor NEWHYF Javascript 2
HYF Javascript 2
Hi Jason, here is my feedback on your homework.
I see lot's of similarity between your work and the work of others. Since they submitted earlier you must have been 'inspired' by their work. Please don't copy.
Although it may seem handy to have the assignment in comments in your code, this is what I commented on Kemirdin's work:
You should not leave old, commented out code in your repo. Just as you should not leave crossed-out text in your CV. Remember I'm your reviewer. Your next reviewer may be your potential boss.
OK
I think this is the result of work we did together. Needles to say that it works.
When I try to run this I get a run-time error:
/Users/jimcramer/hackyourfuture/class13/js2/week3/jason/Week3/4-3.js:29
console.log("Function using 'for' loop: " + newString);
^
ReferenceError: newString is not defined
How did you run it?
I've seen this code before in the homework of Elmira (without the errors).
OK
Looks like Elmira's work
Conclusion is correct.
Look's like Anan's work.
Looks like Kenan's work
Hi Jason, just use 'map' and 'filter' for this homework as Jim said. but in general it looks better than mine. good job!
hi Jason, I think it 's better write
// const root = document.getElementById("root"); // before the for loop.
and write
// const unorderedList = document.createElement("ul");
root.appendChild(unorderedList);
const li = document.createElement('li');
unorderedList.appendChild(li);//
and the other HTML to JS codes in the for loop.
good luck !
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.