diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..bff4e07 Binary files /dev/null and b/.DS_Store differ diff --git a/exercises/.DS_Store b/exercises/.DS_Store new file mode 100644 index 0000000..ad8b56f Binary files /dev/null and b/exercises/.DS_Store differ diff --git a/exercises/readme.md b/exercises/readme.md index f19debf..5a0049d 100644 --- a/exercises/readme.md +++ b/exercises/readme.md @@ -42,3 +42,8 @@ about commiting the changes and finally push them into your forked repository. push to the forked repository, finally discuss the differences between both methods, using the readme file of this exercise. +
+

GET vs POST Methods.
+ GET allows the form to gather data from a the input the elements in a page while POST uses that data
+ to do things with it (put it into a database, email it, etc.) +

diff --git a/sample1/.DS_Store b/sample1/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/sample1/.DS_Store differ diff --git a/sample1/test.html b/sample1/test.html new file mode 100644 index 0000000..3bd86d0 --- /dev/null +++ b/sample1/test.html @@ -0,0 +1,13 @@ + + + + + + + Hello + + + +

Hello World!

+ + diff --git a/sample2/.DS_Store b/sample2/.DS_Store new file mode 100644 index 0000000..9581c52 Binary files /dev/null and b/sample2/.DS_Store differ diff --git a/sample2/about.html b/sample2/about.html new file mode 100644 index 0000000..c56e0f1 --- /dev/null +++ b/sample2/about.html @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/sample2/contact.html b/sample2/contact.html new file mode 100644 index 0000000..c4d35b3 --- /dev/null +++ b/sample2/contact.html @@ -0,0 +1,46 @@ + + + + + + + contact page + + +
+

+ Conact information +

+ + + + + + + + + + + + + + + + + + + + +
namephone numbercitystate
donovan goldstonxxx-xxx-xxxxdallastexas
Angela Goldstonxxx-xxx-xxxxdallastexas
+
+ + + diff --git a/sample2/css/styles.css b/sample2/css/styles.css new file mode 100644 index 0000000..d08a8a9 --- /dev/null +++ b/sample2/css/styles.css @@ -0,0 +1,12 @@ +span{ + background-color: red; +} +#sample1{ + background-color: green; + width: 800px; + height: 200px; +} +.links{ + background-color: green; + width: 200px; +} diff --git a/sample2/index.html b/sample2/index.html new file mode 100644 index 0000000..57968f4 --- /dev/null +++ b/sample2/index.html @@ -0,0 +1,32 @@ + + + + + + + main page + + +

+ sample header 1 +

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +

+

+ sample header 2 +

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +

+ + + diff --git a/sample3/.DS_Store b/sample3/.DS_Store new file mode 100644 index 0000000..c23b586 Binary files /dev/null and b/sample3/.DS_Store differ diff --git a/sample3/form.html b/sample3/form.html new file mode 100644 index 0000000..38dec9c --- /dev/null +++ b/sample3/form.html @@ -0,0 +1,64 @@ + + + + + user form + + + +
+ +
+ +
+
+
+ + +
+
+

+ Create a <form> element that will ask to the user and will submit to www.google.com using GET method:
+ 1. Name (textbox)
+ 2. Last Name (textbox)
+ 3. Birth Date (calendar)
+ 4. Age (range)
+ 5. Sex (option or radiobutton)
+ 6. Email
+ 7. Submit button
+
+ All of the input should be required and validated before submitted, and should have a proper label attached to it. + Don't forget to commit all changes.
+
+ When the GET is already working create a new branch that will change to a POST method, this branch should be also push to
+ the forked repository, finally discuss the differences between both methods, using the readme file of this exercise.
+

+
+
+

+ GET vs POST Methods.
+ GET allows the form to gather data from a the input the elements in a page while POST uses that data
+ to do things with it (put it into a database, email it, etc.) +

+
+ +