Skip to content

Commit 19fb2ef

Browse files
changes to the website
1 parent 08681d3 commit 19fb2ef

File tree

2 files changed

+75
-81
lines changed

2 files changed

+75
-81
lines changed

index.html

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,39 @@ <h2>Welcome to our Website</h2>
2727
<button>Learn More</button>
2828
</section>
2929

30-
<section class="features">
31-
<h3>Our Features</h3>
32-
<ul>
33-
<li>3 team proccess</li>
34-
<li>Low Commission Pay</li>
35-
<li>Still working</li>
36-
</ul>
37-
</section>
38-
<fieldset>
39-
<legend class="legend">Contact us</legend>
40-
<section class="contact" id="contact"> <h2>Get in Touch</h2>
41-
<form action="mailto:youremail@example.com" method="post"> <div class="form-group">
42-
<label for="name">Name:</label>
43-
<input type="text" name="name" id="name" required>
30+
<section class="cards">
31+
<div class="card">
32+
<h3>3 team proccess</h3>
33+
<p>Team A designs the product, Team B builds the product, and Team C tests the product..</p>
4434
</div>
45-
<div class="form-group">
46-
<label for="email">Email:</label>
47-
<input type="email" name="email" id="email" required>
48-
</message>
49-
<div class="form-group">
50-
<label for="message">Message:</label>
51-
<textarea name="message" id="message" rows="5" required></textarea>
35+
36+
<div class="card">
37+
<h3>Low Commission Pay</h3>
38+
<p>we only need low commissions rather than those who want higher pay.</p>
5239
</div>
53-
<button type="submit">Send Message</button>
54-
</form>
55-
</fieldset>
56-
</section>
40+
41+
<div class="card">
42+
<h3>still working</h3>
43+
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
44+
</div>
45+
</section>
46+
<fieldset>
47+
<legend class="legend"></legend>
48+
<!-- index.html -->
49+
50+
<section class="contact">
51+
52+
<h2>Contact Us</h2>
53+
54+
<form action="" method="post">
55+
<input type="text" placeholder="Name">
56+
<input type="email" placeholder="Email">
57+
<textarea placeholder="Message"></textarea>
58+
<button type="submit">Send Message</button>
59+
</form>
60+
61+
</section>
62+
5763
</main>
5864

5965
<footer class="footer">

style.css

Lines changed: 44 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,11 @@ body {
7272
margin-bottom: 10px;
7373
}
7474

75-
.features ul {
76-
list-style: none;
77-
margin: 0;
78-
padding: 0;
79-
}
80-
81-
.features li {
82-
margin-bottom: 10px;
83-
}
75+
.cards {
76+
display: grid;
77+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
78+
gap: 1rem;
79+
}
8480

8581
.footer {
8682
background: linear-gradient(to top, #eee 0%, #fff 100%);
@@ -89,56 +85,48 @@ body {
8985
}
9086

9187
/* Contact Section Styles */
92-
.contact {
93-
margin-top: 50px;
94-
text-align: center;
95-
background-color: #f5f5f5; /* Light gray background */
96-
padding: 30px;
97-
border-radius: 10px; /* Rounded corners */
98-
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
99-
}
100-
101-
.contact form {
102-
display: flex; /* Maintain flex layout */
103-
flex-direction: column; /* Stack elements vertically */
104-
width: 100%; /* Take up full width within the contact section */
105-
padding: 20px; /* Inner padding for form elements */
106-
}
107-
108-
.contact .form-group {
109-
margin-bottom: 15px;
110-
}
111-
112-
.contact label {
113-
display: block; /* Maintain block-level display for labels */
114-
margin-bottom: 5px;
115-
font-weight: bold; /* Add slight emphasis to labels */
116-
}
117-
118-
.contact input,
119-
.contact textarea {
120-
width: 100%; /* Maintain full width within form */
121-
padding: 10px;
122-
border: 1px solid #ddd; /* Light gray border */
123-
border-radius: 5px; /* Rounded corners for input fields */
124-
font-size: 16px; /* Increase font size for better readability */
125-
}
88+
/* style.css */
12689

127-
.contact textarea {
128-
height: 150px; /* Increase textarea height */
129-
}
130-
131-
.contact button {
132-
background-color: #007bff; /* Blue background for submit button */
133-
color: #fff; /* White text color */
134-
padding: 12px 20px; /* Adjust padding slightly */
90+
.contact {
91+
background-color: #f5f5f5;
92+
border-radius: 0.25rem;
93+
padding: 1rem;
94+
box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
95+
}
96+
97+
.contact h2 {
98+
font-size: 1.5rem;
99+
}
100+
101+
.contact form {
102+
max-width: 600px;
103+
margin: 0 auto 1rem;
104+
}
105+
106+
.contact input,
107+
.contact textarea {
108+
width: 100%;
109+
padding: 0.5rem;
110+
font-size: 1rem;
111+
border-radius: 0.25rem;
112+
border: 1px solid #ccc;
113+
}
114+
115+
.contact button[type="submit"] {
116+
display: block;
117+
width: 100%;
118+
padding: 0.75rem 1rem;
119+
background-color: #0077cc;
120+
color: #fff;
135121
border: none;
136-
border-radius: 5px;
122+
border-radius: 0.25rem;
137123
cursor: pointer;
138-
margin-top: 10px;
139-
font-weight: bold; /* Make submit button text bolder */
140-
}
141-
124+
}
125+
126+
.contact button[type="submit"]:hover {
127+
background-color: #005599;
128+
}
129+
142130

143131
.legend {
144132
text-align: center;

0 commit comments

Comments
 (0)