Coder Social home page Coder Social logo

js-homework-two's People

Contributors

westnorthern avatar

Watchers

 avatar

js-homework-two's Issues

Question Three

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".

Intermediate

Create an HTML page where the user can click on list items and they turn blue, then red, then green on subsequent clicks

Question Two

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.

Question Four

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"

Question One

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!"

Ultra Advanced

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.