Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HTML In your HTML file, please do the following: Add an h1 tag with a class of text-center and add the text of Project

HTML

In your HTML file, please do the following:

  • Add an h1 tag with a class of text-center and add the text of "Project".
  • Create a div class of container
    • Inside the container, create a div id of test-input
      • Inside the test-input, add the following:
        • input box with an id of isValidInput
        • button with an id of isValidBtn
      • Outside of the test-input, but inside the container, create a paragraph tag with an id of isValidMsg

CSS

In your stylesheet, please add the following:

  1. Set an asterisk with a property of box sizing equal to border box.
  2. Set the body with the following properties:
    • set a property of font-family and set it equal to sans-serif.
    • set a minimum height of 100%.
    • set a vertical overflow of hidden.
  3. Set a class called text-center and set it to align the text to the center.
  4. Create a container class, and add the following properties:
    • set the display property to flex
    • justify the content to center
    • align the items to center
    • set the height to 100 viewport height
    • set the flex direction to column
  5. Create an id of test-input
    • add a property of flex direction, and set it to row
  6. Create an input selector (type of text) and combine it with a button selector. Then add the following:
    • set the padding to 10 pixels
    • set the font size to 18 pixels
  7. Create an id of isValidMsg and add the following properties:
    • set the color to red
    • set the margin to 1 em
    • set the font style to italic
    • set the font weight to bold

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago