diff --git a/Form-Controls/README.md b/Form-Controls/README.md index 86f623d89..ab162b711 100644 --- a/Form-Controls/README.md +++ b/Form-Controls/README.md @@ -34,8 +34,8 @@ Do not write a form action for this project. Let's write out our testable criteria. Check each one off as you complete it. -- [ ] I have only used HTML and CSS. -- [ ] I have not used any JavaScript. +- [] I have only used HTML and CSS. +- [] I have not used any JavaScript. ### HTML diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..d01ceb731 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,18 +1,76 @@ - + - My form exercise - + T-shirt Order Form + + -
-

Product Pick

-
-
+ + +
+

T-shirt Order Form

+
+ +
+ + + +
+ + + +
+ + + +
+ + + +
+ + -

By HOMEWORK SOLUTION

+

By Lesya Lyaisyan

diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..ed533c0af --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,45 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border-style:solid; + border-width: 5px; + border-color:black; + padding: 5px; + margin: auto; + margin-top: 50px; + max-width: 400px; + border-radius: 20px; + font-size: 25px; +} +h1 { + text-align: center; + margin-bottom: 1px; +} +.label { + display: block; + font-weight: bold; + font-size: 10px; + padding-bottom: 25px; +} +input, select { + display: block; + font-size: 15px; + padding: 0.5em; + width: 100%; + max-width: 300px; +} +button { + display: block; + font-size: 15px; + padding: 0.5em; + width: 50%; + max-width: 300px; + margin: 20px; + background-color: rgb(105, 105, 226); + border-radius: 10px; +} +footer{ + text-align: center; +}