Skip to content

Daniel heng #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added background-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<title>Contact Form Example</title>
</head>

<body>
<body style="background-image: url('background-image.jpg'); background-size: cover;">
<div style="display:inline-block; width: 20%"> </div>
<div class = "form-container">
<h2 class="content-head is-center">Contact Us!</h2>
<aside>
<p>
Expand Down Expand Up @@ -79,6 +81,6 @@ <h2><em>Thanks</em> for contacting us!
}
</script>
<!-- END -->

</div>
</body>
</html>
7 changes: 7 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ button {
.honeypot-field {
display: none;
}

.form-container{

Check notice

Code scanning

Expected single space before "{" (block-opening-brace-space-before)

Expected single space before "{" (block-opening-brace-space-before)
background: rgba(255, 255, 255, 0.8);

Check notice

Code scanning

Expected "0.8" to be "80%" (alpha-value-notation)

Expected "0.8" to be "80%" (alpha-value-notation)

Check notice

Code scanning

Expected modern color-function notation (color-function-notation)

Expected modern color-function notation (color-function-notation)
width: 700px;
display: inline-block;
padding: 0px 35px 20px 35px;

Check notice

Code scanning

Unexpected unit (length-zero-no-unit)

Unexpected unit (length-zero-no-unit)

Check notice

Code scanning

Unexpected longhand value "0px 35px 20px 35px" instead of "0px 35px 20px" (shorthand-property-no-redundant-values)

Unexpected longhand value "0px 35px 20px 35px" instead of "0px 35px 20px" (shorthand-property-no-redundant-values)
}