[HTML] - How to alert user if first name input is empty - | SheCodes

[HTML] - How to alert user if first name input is empty

Learn how to add form validation in HTML and alert the user if the first name input is empty using JavaScript.

👩‍💻 HTML, CSS and JavaScript Code instructions

If user does not enter her first name, Alert 'Too bad for you’

More coding questions about HTML

👩‍💻 Technical question

Asked 1 month ago in HTML by Betty Nonhle

what are em used for in html

👩‍💻 Technical question

what does <script> work for

👩‍💻 Technical question

Asked 2 months ago in HTML by Molebatsi

how do i underline h1

👩‍💻 Technical question

Asked 2 months ago in HTML by veretech

how can i align text with image in html

👩‍💻 Technical question

make a textfield to enter a username, which the website will save and refer to again

👩‍💻 HTML, CSS and JavaScript Code instructions

write a code for grid with scale

👩‍💻 Technical question

How do you link a CSS file to an HTML file?

👩‍💻 HTML, CSS and JavaScript Code instructions

Create an HTML file with a "Dark theme button" turning the page background to black.

👩‍💻 Technical question

Asked 5 months ago in HTML by Hasania

Write me a Code that gives me the possiblity to placedifferent Icons on one line, I should be able to place Wording under the Icons and it should be centred. The icons should be placed like different Tabs on one line. The Icon Bar should be sticky.

👩‍💻 Technical question

Asked 6 months ago in HTML by Viictor

what is span element in html?

👩‍💻 Technical question

Asked 6 months ago in HTML by Lebohang

what does the <section> element do

👩‍💻 Technical question

what is span in html

👩‍💻 Technical question

What is div in html?

👩‍💻 HTML, CSS and JavaScript Code instructions

Asked 8 months ago in HTML by Caitlin

Write me HTML, CSS, and Javascript for a png of a rocket crossing the screen once the user inputs data

👩‍💻 HTML, CSS and JavaScript Code instructions

Upload an image

👩‍💻 Technical question

what is ul in html

👩‍💻 Technical question

Asked 9 months ago in HTML by Kushanth

how to take values in a serach bar and give output according to it

👩‍💻 Technical question

How to add comments under article in HTML file

👩‍💻 HTML, CSS and JavaScript Code instructions

the scenario is ,create a separate html ,css and java script file the js file should contain list of songs and images in an object ,when the image button pressed the perticular song of that image as to display and it should contain single progress bar at a footer

👩‍💻 Technical question

How do I properly line an img src in order of my code

👩‍💻 HTML, CSS and JavaScript Code instructions

cosmos poem with sun

👩‍💻 Technical question

Asked 9 months ago in HTML by Adivhaho

How do I load my css properly

👩‍💻 Technical question

can you build me a 640px centered aligned table with 2 columns

👩‍💻 Technical question

sunny emoji in html

👩‍💻 Technical question

what is the <hr> in html

👩‍💻 Technical question

what is the <em> in html

👩‍💻 Technical question

Asked 10 months ago in HTML by nirmean100

what are input elements?

👩‍💻 Technical question

Asked 11 months ago in HTML by PATRICIA

what is a <iframe>

👩‍💻 Technical question

make an option bar in html css

👩‍💻 Technical question

How do I indent my H1 in HTML without CSS?

👩‍💻 Technical question

Asked 11 months ago in HTML by Georgina

how to add a google font

👩‍💻 Technical question

How do I list without bullet points in HTML without CSS?

👩‍💻 HTML, CSS and JavaScript Code instructions

Asked 11 months ago in HTML by Daniela

Create a dropdown list with 4 vegetables

👩‍💻 Technical question

how to get emoji in html

👩‍💻 Technical question

how to make popup login form

👩‍💻 Technical question

how to make animation search bar with icon

👩‍💻 Technical question

how do i make it so i can make pictures switch forward and backwards

👩‍💻 Technical question

What is a DOM? What do you know about it?

👩‍💻 Technical question

Asked 11 months ago in HTML by nirmean100

whats a span and when should you use it?

👩‍💻 Technical question

what is hr element in html

👩‍💻 Technical question

Asked 12 months ago in HTML by Dorothea

how do I comment in html

👩‍💻 Technical question

what is href?

👩‍💻 Technical question

what is href

👩‍💻 Technical question

Asked 12 months ago in HTML by Malinalli

how do i make comments in my html file

👩‍💻 Technical question

How to place radio buttons next to each other in html

👩‍💻 HTML, CSS and JavaScript Code instructions

Asked 1 year ago in HTML by Abdulmajeed

create HTML5 prototypes and relevant CSS rules for a mock-ups. it should have: • Use proper HTML page structure • Use HTML5 elements where appropriate • CSS style rules are consistent across all pages Create Landing Page: index.html You must implement the HTML and CSS code to achieve this design. Requirements are: • Include all sections from the design o Header, Content, and Footer o Dotted line indicate page boundaries and is not required • Use hyperlinks for navigation links with the 5 provided images o Images can be found in resources.zip o Each image should have a hyperlink o For now, 4 news categories should link to list.html o The add news image should link to add.html • Use CSS to: o Ensure all pages use the same font scheme (of your choice)  n.b. any font family, size, colour is acceptable, but must be specified clearly in the CSS file o Layout the images as a grid  n.b. table layout or simple flow layout are accepted, but receive less marks

👩‍💻 Technical question

Asked 1 year ago in HTML by Philile

what is an iframe html

👩‍💻 HTML, CSS and JavaScript Code instructions

Asked 1 year ago in HTML by Muskaan

center align image

👩‍💻 Technical question

Asked 1 year ago in HTML by Muskaan

why isn't my image aligning to the center html

👩‍💻 Technical question

how to create tables in html