29.07.2016 Views

front-end-developer_1_

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Front-End-Developer - Level 1<br />

08.Forms<br />

Embedded Video: https://www.youtube.com/watch?v=eGbTDP6phh4?rel=0<br />

So far, the only way we've been able to capture user input is by using confirm() and alert().<br />

Let's learn about forms so that we can build more interesting pages.<br />

Have you ever played Mad Libs? You're prompted to fill out a list of nouns, verbs, adjectives,<br />

etc., and then copy them onto another piece of paper that contains a story, missing those<br />

crucial words that you are now providing. The idea is to pick bizarre words without knowing<br />

what the story is, and then when you fill them in, the results can be hilarious.<br />

Let's make a page that mimics the Mad Libs format:<br />

mad-libs.html<br />

Forms<br />

177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!