Code Monkey home page Code Monkey logo

layout_html-form's Introduction

HTML form

Replace <your_account> with your Github username and copy the links to Pull Request description:

Follow this instructions


❗️❗️❗️ Check your code with the CHECKLIST before ❗️❗️❗️

The task:

Create HTML page with form. On form submit send form data to https://mate-academy-form-lesson.herokuapp.com/create-application

screenshot

Notes

  • Every field should have name attribute
  • Every field should have label, which focuses input on label click
  • Do not use tabs for indentation. Instead use 2 spaces
  • Most of the time you want each tag in new line
  • Form should have different inputs with such types:
    • text
    • number
    • email
    • checkbox
    • radio
    • password
    • range
    • time
    • color
    • date
  • Form should have textarea and select elements.
  • You should use each of this attribute at least once
    • required
    • min
    • max
    • minlength
    • maxlength
    • multiple
  • Age should be at least 1 and at max 100 with a default value of 12
  • The email field should have placeholder value: [email protected].
  • Text fields should have autocomplete="off".
  • Submit button should have a type="submit"
  • Vertical distance between inputs should be 10px
  • Vertical distance between groups should be 20px
  • Any other styles should be browser default

--> Don't forget to proofread your code using CHECKLIST

Tips & Hints

  1. You can group fields with fieldset tag
  2. The form should have correct method and action
  3. Follow the code style guide
  4. <textarea> is a tricky tag to format:
    • It requires you to put a closing tag on the same line as the > of the opening tag, not to have default content, and be able to see the placeholder.
    • At the same time, if it has several attributes, you need to put each of them on its own line.
    • So, use the following formatting where > is moved 1 position left from the normal alignment:
        <textarea
          class="..."
          placeholder="..."
       ></textarea>

layout_html-form's People

Contributors

mgrinko avatar yuriiholiuk avatar oleksiiblezniuk avatar vinniej-2k20 avatar ivadimko avatar vladimir-beliy avatar ost-ptk avatar irenhh avatar andr1yk avatar solaryasha avatar ihor-karpyn avatar marina-tilniak avatar aionova avatar elena-brv avatar vkryvytskyy avatar valerii-derkach avatar

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.