westnorthern / js-homework-two Goto Github PK
View Code? Open in Web Editor NEWHomework for October 5th 2017
Homework for October 5th 2017
Create an HTML page with javascript that listens for a keypress.
--When the user presses that key, the text of the h1 should show the value of the key they have pressed.
--Example: If the user presses "J", the text inside the h1 should be "J".
Create an HTML page where the user can click on list items and they turn blue, then red, then green on subsequent clicks
Create an HTML page with a large element on the page that says "Don't hover over me" inside of it. When you hover over the element, send an alert to the user that says, "Hey, I told you not to hover over me!" Bonus: When you mouseout of the element, have it restore the original text.
Create an HTML page with a form. The form should include inputs for a username, password, an h1 tag as well as a button. In a Javascript file, write code that does the following things when the button is pressed:
--checks that the password is 12345678
--checks that the username is less than 14 characters in length
--if the info in the form is correct, have Javascript change the text in the h1 to say "Congrats on knowing your username and password!"
--if anything is wrong, send an alert message saying "Incorrect username or password"
Create an HTML page with two buttons that argue with each other. When one button is clicked, the box in the middle of them will say, "I'm right!". When the other button is clicked, the text is replaced with, "No, I'm right!"
Create an HTML page with a hidden easter egg that listens for keypresses and when they have pressed up+up+down+down+left+right+b+a then you show a Star Power Mario image.
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.