Form Inputs - Checkbox, Radio, and Submit Buttons

  Рет қаралды 2,816

Craig A. Bourne

Craig A. Bourne

Күн бұрын

► Forms allow us to collect information through user inputs. These include fields for entering text and elements we can click. Such as buttons, checkboxes, and dropdown menus that allow us to choose from a series of options.
There are many things that we can do with forms. They are an essential part of any website and one of the most important web concepts to learn. Google search is a form, Logging in to Facebook and Twitter is done with a form. Entering your payment details for an Amazon order is done with a form.
In the last section, we learned what forms are, how we use them, and then we looked at the various text-based form fields brought to us by the HTML input element.
In this section, we will discuss the many interactive clickable input types available to us. Namely, the checkbox, radio buttons, submit buttons, and dropdown menus.
Part 1: • Form Inputs - Text, Em...
Part 3: • Build an HTML Form Fro...
► Timestamps:
0:00 Start
1:29 Clickable input types
2:04 Checkboxes
2:29 The checked attribute
3:02 The checkbox hack
3:43 The date input
4:32 The time input
4:52 The color input
5:20 The file input
6:21 Radio buttons
8:16 Using the name attribute to associate radio buttons
9:52 The value attribute
10:39 Dropdown menus
12:50 Setting the default option in a dropdown menu
13:49 Submit inputs
14:58 HTTP 405 error
16:25 Reset buttons
17:16 Summary
► Get the code:
START CODE: codepen.io/craigabourne/pen/Q...
END CODE: codepen.io/craigabourne/pen/w...
GITHUB REPO: github.com/craigabourne/html-...
► Links used in the video:
The Checkbox Hack: css-tricks.com/the-checkbox-h...
HTML Input Types: www.w3schools.com/html/html_f...
HTML Input 'value' Attribute: www.w3schools.com/tags/att_in...
HTTP 405: developer.mozilla.org/en-US/d...
HTML Input Type 'reset': www.w3schools.com/tags/att_in...
► The HTML for Absolute Beginners Playlist: • HTML for Absolute Begi...
► Social Media:
/ craigabourne
/ craigabourne
► Code & Projects:
github.com/craigabourne
codepen.io/craigabourne

Пікірлер: 22
@craigabourne
@craigabourne 3 жыл бұрын
Learn HTML: kzbin.info/aero/PL4cTxE4s2XIYJL6uPQUwMt25M70gPl-O6
@Naz-yi9bs
@Naz-yi9bs 3 жыл бұрын
Form Inputs#2 FTW!
@createspace4368
@createspace4368 3 жыл бұрын
Nice. Never knew the 405 error stuff
@craigabourne
@craigabourne 3 жыл бұрын
Glad it was useful!
@janelleschuh3263
@janelleschuh3263 3 жыл бұрын
Love this and the first one. Will you do a video showing how to handle the form data?
@craigabourne
@craigabourne 3 жыл бұрын
Absolutely! Might be a little while though. Will include that with the backend stuff that will come later on.
@rayasversion
@rayasversion 3 жыл бұрын
Very good video craig from the uk
@craigabourne
@craigabourne 3 жыл бұрын
Thanks FlossyCat 👍
@kirillbrehzkov
@kirillbrehzkov 3 жыл бұрын
Very important to understand forms inputs. Love the variation between this video and the text input video. I can build good forms now
@craigabourne
@craigabourne 3 жыл бұрын
Yeah, totally. Forms are one of the main ways for users to interact with us developers. So if you're collecting data or communicating with users, got form structuring is an absolute must!
@manendarpverma5252
@manendarpverma5252 3 жыл бұрын
I learned tons from the 3 form videos. Very good teaching
@craigabourne
@craigabourne 3 жыл бұрын
Great to hear! Appreciate the feedback! 👍
@leelaneupane4958
@leelaneupane4958 3 жыл бұрын
Learning a lot! Best few videos on structuring forms i have seen Thanks 👏
@craigabourne
@craigabourne 3 жыл бұрын
Great to hear! Thanks for the feedback 👍
@Adeyemi201
@Adeyemi201 26 күн бұрын
thank you so much
@somnarchaudhary
@somnarchaudhary 3 жыл бұрын
Packed full of good content. Any full courses coming down the line? You are like Colt Steel
@craigabourne
@craigabourne 3 жыл бұрын
Who knows? Nothing any time soon. Aiming to get as much as possible on KZbin and our website.
@jovanstrickland
@jovanstrickland 2 жыл бұрын
Great videos bro
@craigabourne
@craigabourne 2 жыл бұрын
Appreciate it
@plcasiraghi4722
@plcasiraghi4722 3 жыл бұрын
Good videos. When the backend you show?
@craigabourne
@craigabourne 3 жыл бұрын
Cannot give you a firm answer unfortunately. Its coming in future with the Node content. As quick as I can
@ovidiu2394
@ovidiu2394 2 жыл бұрын
This isn't even my final form
Build an HTML Form From Scratch
19:55
Craig A. Bourne
Рет қаралды 1,6 М.
How to Use CSS Pseudo-Classes
28:59
Craig A. Bourne
Рет қаралды 1,7 М.
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 3,7 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 8 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 68 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 16 МЛН
CSS Resets and Default Browser Styles
16:01
Craig A. Bourne
Рет қаралды 3,3 М.
Drop Down or Radio Button - Which one would you choose?
0:28
Creative Tim Tutorials
Рет қаралды 22 М.
Are you making those 5 button design mistakes?
8:47
Malewicz
Рет қаралды 52 М.
Mastering CSS Positioning Once and For All
22:12
Craig A. Bourne
Рет қаралды 9 М.
Adjacent and General Sibling Selectors in CSS
16:45
Craig A. Bourne
Рет қаралды 2,2 М.
Watch these WEBSITE SECURITY tips before it's too late
5:19
Jelvix | TECH IN 5 MINUTES
Рет қаралды 1,3 М.
Ems & Rems: How to use CSS Units
13:51
Craig A. Bourne
Рет қаралды 2,3 М.
Surprise, surprise from Putin
14:00
NEXTA Live
Рет қаралды 277 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,2 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 2,7 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 52 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 8 МЛН