homerhanumat / csc324docs Goto Github PK
View Code? Open in Web Editor NEWCollaborative website for students and instructor in CSC 324 at Georgetown College.
Home Page: https://csc324docs.netlify.app
Collaborative website for students and instructor in CSC 324 at Georgetown College.
Home Page: https://csc324docs.netlify.app
In the solution to the sample Javascript (content/jsapps/random/sample-solution/index.md), the following is unclear:
// this will hold the ids:
let ids = [];
// from artists, strip the id from each video link and
// push to ids
function getID(artist) {
const link = new String(artist.link);
const pattern = /watch\?v=(.*)$/
const match = pattern.exec(link);
ids.push(match[1]);
}
I don’t see how the array is actually populated. Did you perhaps mean to include something like artists.forEach(getID)
?
Also, the use of pattern.exec()
might be unclear to folks who are new to regular expressions in JavaScript. Perhaps explain that it returns an array, and explain why the second element of that array is the capture that we want.
I looked at the assignment on Canvas again, and I think it was actually meant to be here. My bad!
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.