Skip to content
Open
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
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,19 @@ window.addEventListener('load', function(event) {
const commentLabel = document.createElement("label");
const commentLabelSpan = document.createElement("span");
commentLabel.setAttribute("for", "comment");
commentLabelSpan.textContent = "What’s the issue?";
commentLabelSpan.textContent = "Leave a comment?";
const commentLabelSmall = document.createElement("small");
commentLabel.setAttribute("for", "comment");
commentLabel.classList.add("form-textarea-label");
commentLabelSmall.textContent = "* Required";
commentLabel.append(commentLabelSpan, commentLabelSmall);

const commentField = document.createElement("textarea");
commentField.placeholder = "What are you looking to see and what’s the problem it solves.";
commentField.placeholder = "Let us know how we can improve.";
commentField.setAttribute("required", true);
commentField.setAttribute("id", "comment");
commentField.setAttribute("cols", "20");
commentField.setAttribute("rows", "10");
commentField.setAttribute("rows", "5");
commentField.name = "comment";
commentField.classList.add("form-textarea-textarea")

Expand Down
10 changes: 5 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
padding: 1.6rem;
position: fixed;
right: 10px;
width: 350px;
width: 390px;
}

.close {
Expand Down Expand Up @@ -225,7 +225,7 @@
}

.form-input input[type="email"]:focus, .form-textarea-textarea:focus {
outline-color: #F5A623;
outline-color: #500740;
}

.form-input-label, .form-textarea-label, .form-textarea-textarea {
Expand All @@ -236,7 +236,7 @@

.form-button {
align-items: center;
color: #433D41;
color: #500740;
display: flex;
font-family: "Satoshi";
justify-content: center;
Expand Down Expand Up @@ -299,7 +299,7 @@
.submission-button {
background: transparent;
border: none;
color: #F5A623;
color: #500740;
cursor: pointer;
margin: 1rem 0;
outline: none;
Expand All @@ -310,7 +310,7 @@
max-height: 90px;
gap: 3px;
margin: 0.7rem 0;
width: 100%;
width: 80px;
}

.image-preview img {
Expand Down