Skip to content

Commit 9a7cc69

Browse files
new changes to the theme and structure
1 parent 370e400 commit 9a7cc69

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

Diff for: assets/css/styles.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ body {
8282
font-size: var(--normal-font-size);
8383
background-color: var(--body-color);
8484
color: var(--text-color);
85-
transition: .3s;
85+
transition: 3s;
8686
}
8787

8888
h1,
@@ -338,6 +338,7 @@ nav {
338338

339339
.home__container {
340340
padding-top: 4rem;
341+
padding-bottom: 4rem;
341342
row-gap: 3.5rem;
342343
}
343344

@@ -407,6 +408,7 @@ nav {
407408
position: relative;
408409
display: flex;
409410
justify-content: center;
411+
bottom: -2rem;
410412
}
411413

412414
.home__orbe {

Diff for: assets/js/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ themeButton.addEventListener('click', toggleTheme);
156156
document.querySelectorAll('.popup-enabled').forEach((element)=>{
157157
element.addEventListener('click', (event)=>{
158158
event.preventDefault();
159-
console.log(event);
160-
alert('Thanks for clicking😁')
159+
console.log(event.target);
160+
alert('Buttons and links aren\'t functional.' + event.target)
161161
})
162162
})

Diff for: index.html

+20-20
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h1 class="home__title">
8686
<form action="" class="home__search">
8787
<i class='bx bx-map'></i>
8888
<input type="search" placeholder="Search locations..." class="home__search-input">
89-
<button class="button">Search</button>
89+
<button class="button popup-enabled">Search</button>
9090
</form>
9191

9292
<div class="home__value">
@@ -381,7 +381,7 @@ <h3 class="contact__card-title">
381381
</p>
382382
</div>
383383
</div>
384-
<button class="contact__card-button">
384+
<button class="contact__card-button popup-enabled">
385385
Button
386386
</button>
387387
</div>
@@ -400,7 +400,7 @@ <h3 class="contact__card-title">
400400
</p>
401401
</div>
402402
</div>
403-
<button class="contact__card-button">
403+
<button class="contact__card-button popup-enabled">
404404
Button
405405
</button>
406406
</div>
@@ -417,7 +417,7 @@ <h3 class="contact__card-title">
417417
</p>
418418
</div>
419419
</div>
420-
<button class="contact__card-button">
420+
<button class="contact__card-button popup-enabled">
421421
Button
422422
</button>
423423
</div>
@@ -434,7 +434,7 @@ <h3 class="contact__card-title">
434434
</p>
435435
</div>
436436
</div>
437-
<button class="contact__card-button">
437+
<button class="contact__card-button popup-enabled">
438438
Button
439439
</button>
440440
</div>
@@ -453,7 +453,7 @@ <h1 class="subscribe__title">
453453
Embark on your real estate journey with us. Whether you're looking to buy, sell, or invest, our team
454454
of experts is here to guide you every step of the way. Discover your dream property, explore our
455455
services, and experience a seamless real estate experience like never before. </p>
456-
<a href="#" class="button subscribe__button">
456+
<a href="#" class="button subscribe__button popup-enabled">
457457
Get started
458458
</a>
459459

@@ -500,15 +500,15 @@ <h3 class="footer__title">
500500

501501
<ul class="footer__links">
502502
<li>
503-
<a href="" class="footer__link">About Our Company</a>
503+
<a href="" class="footer__link popup-enabled">About Our Company</a>
504504
</li>
505505

506506
<li>
507-
<a href="" class="footer__link">Our Story</a>
507+
<a href="" class="footer__link popup-enabled">Our Story</a>
508508
</li>
509509

510510
<li>
511-
<a href="" class="footer__link">Testimonials</a>
511+
<a href="" class="footer__link popup-enabled">Testimonials</a>
512512
</li>
513513
</ul>
514514
</div>
@@ -520,15 +520,15 @@ <h3 class="footer__title">
520520

521521
<ul class="footer__links">
522522
<li>
523-
<a href="" class="footer__link">Key Features</a>
523+
<a href="" class="footer__link popup-enabled">Key Features</a>
524524
</li>
525525

526526
<li>
527-
<a href="" class="footer__link">Financing Options</a>
527+
<a href="" class="footer__link popup-enabled">Financing Options</a>
528528
</li>
529529

530530
<li>
531-
<a href="" class="footer__link">Property Management</a>
531+
<a href="" class="footer__link popup-enabled">Property Management</a>
532532
</li>
533533
</ul>
534534
</div>
@@ -540,15 +540,15 @@ <h3 class="footer__title">
540540

541541
<ul class="footer__links">
542542
<li>
543-
<a href="" class="footer__link">Milestones</a>
543+
<a href="" class="footer__link popup-enabled">Milestones</a>
544544
</li>
545545

546546
<li>
547-
<a href="" class="footer__link">Partnerships</a>
547+
<a href="" class="footer__link popup-enabled">Partnerships</a>
548548
</li>
549549

550550
<li>
551-
<a href="" class="footer__link">Achievements</a>
551+
<a href="" class="footer__link popup-enabled">Achievements</a>
552552
</li>
553553
</ul>
554554
</div>
@@ -561,24 +561,24 @@ <h3 class="footer__title">
561561
</h3>
562562

563563
<ul class="footer__social">
564-
<a href="" class="footer__social-link" target="_blank">
564+
<a href="" class="footer__social-link popup-enabled" target="_blank">
565565
<i class='bx bxl-twitter'></i>
566566
</a>
567-
<a href="" class="footer__social-link" target="_blank">
567+
<a href="" class="footer__social-link popup-enabled" target="_blank">
568568
<i class='bx bxl-facebook-circle'></i>
569569
</a>
570-
<a href="" class="footer__social-link" target="_blank">
570+
<a href="" class="footer__social-link popup-enabled" target="_blank">
571571
<i class='bx bxl-pinterest'></i>
572572
</a>
573-
<a href="" class="footer__social-link" target="_blank">
573+
<a href="" class="footer__social-link popup-enabled" target="_blank">
574574
<i class='bx bxl-instagram-alt'></i>
575575
</a>
576576
</ul>
577577
</div>
578578

579579
<div class="footer__info container">
580580
<span class="footer__copy">
581-
All rights reserved <i class='bx bxs-copyright'></i>
581+
All rights reserved <i class='bx bxs-copyright'></i> with love.
582582
</span>
583583

584584
<div class="footer__privacy">

0 commit comments

Comments
 (0)