To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<head> <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap" rel="stylesheet"> <style> body { font-family: 'Open Sans', sans-serif; color: #f5f5fa; font-weight: 400; margin: 0; padding: 0; } sup {font-size:xx-small; vertical-align:super;} h1, h2, h3, h4, h5, h6, p, li, a, button, input, label { font-family: 'Open Sans', sans-serif; } button:visited, button:active, a:visited, a:active { border: none; outline: none; } section { max-width: 100%; /* max-height: 100vh;*/ } h2.header { font-size:35px; text-align: center; padding: 2vh 0 0 0; font-weight: 300; margin-top: 3vh; margin-bottom: 6vh; } h2.header > span { font-weight: 800; } .header-secondary { color: #ffffff; } header { display: grid; grid-template-rows: 60px; grid-template-columns: 1fr 7fr; align-items: center; } nav { justify-self: end; } nav ul { list-style-type: none; } nav li { display: inline-block; padding: 10px 10px; margin 0 10px; } nav li a { font-size: 18px; text-decoration: none; } nav li a:hover { color: #feec55; } .top { } .top .top-container { display: grid; grid-template-rows: 150px 80px 190px 50px 80px; grid-template-columns: 100%; grid-row-gap: 2vh; align-items: center; justify-items: center; } .top .cont-1 { justify-self: center; align-self: end; } .top .cont-3 { align-self: start; } .top .cont-4 { align-self: end; } .top .cont-2 { align-self: start; } .top .cont-5 { align-self: start; } .top h3 { font-size: 30px; text-align: center; padding: .4vh .6vw; text-transform: uppercase; border: 1px solid #ffffff; } .top .webinar-date { font-size: 28px; text-align: center; font-weight: 700; } .top h1 { text-align: center; font-size: 40px; } .top .top-desc { font-size: 24px; text-align: center; } .top .button { /**color: #f5f5fa; background-color: #e97a0b;**/ color: #133b5c; background-color: #ffffff; font-size: 20px; width: 220px; font-family: 'Open Sans', sans-serif; border-radius: 2vh; font-weight: 400; height:45px; border: none; outline: none; cursor: pointer; margin-top: 1vh; line-height: 45px; vertical-align: middle; display: inline-block; -webkit-appearance: none; -moz-appearance: none; appearance: none; align-self:start; } .program { color: #143250; } .program > p { font-size: 24px; font-weight: 300; text-align: center; margin-bottom: 60px; } .program-container { display: grid; grid-template-rows: repeat(10, 1fr); grid-template-columns: 100%; justify-items: center; align-items: center; } .program-container h3 { font-size: 24px; font-weight: 700; } .topic { font-size: 20px; width: 100vw; text-align:center; } .topic-7 { padding-bottom: 15px; } .topic-left { font-weight: 400; padding-bottom: 15px; } .organizers { display: grid; grid-template-rows: 40px 150px; grid-template-columns: 1fr 1fr; grid-column-gap: 200px; align-items: center; justify-items: center; margin-top: 50px; } .organizers-header { grid-column: 1/3; } .organizers h3 { font-size: 24px; font-weight: 700; } .organizers-logo-1 { justify-self: end; } .organizers-logo-2 { justify-self: start; } .expert-sec > .header { margin-bottom:60px; } .expert { display: grid; grid-template-rows: 250px 100px; grid-template-columns: 1fr 1fr; grid-gap: 30px; grid-row-gap: 0; align-items: center; justify-items: center; margin-left: 10vw; margin-right: 10vw; } .expert-desc { align-self: start; text-align:center; } .expert-details span { font-size: 20px; font-weight: 700; } .promo { color: #143250; } .promo p { font-size: 20px; font-weight: 400; text-align: center; margin-bottom: 60px; } .promo > .header { margin-bottom: 60px; } .promo-container { display: grid; grid-template-rows: 250px 60px; grid-template-columns: 1fr 1fr; grid-column-gap: 150px; grid-row-gap: 20px; justify-items: center; align-items: center; } .promo h2.header { margin-bottom: 60px; padding-bottom: 0; } .promo-gift-left { align-self: center; justify-self: end; } .promo-gift-right { align-self: center; justify-self: start; } .gift-desc { grid-column: 1/3; } .register-container { display: block; text-align: center; } .register h2.header { margin-bottom: 40px; } .input-container { width: 455px; margin: 0 auto; } form { width: 60%; display: block; margin: 0 auto; text-align: left; } input { background-color: transparent; border: 2px solid #f5f5fa; color: #f5f5fa; font-size: 20px; padding: 5px; border-radius: 10px; width: 455px; height: 30px; display: block; } input:focus { background-color: rgba(256,256,256,.2); outline: none; border: 2px solid #f5f5fa; border-radius: 10px; } input:invalid { outline: none; } label { display: block; text-align: left; font-size: 18px; line-height:2; font-weight: 300; } form .button { /**color: #f5f5fa; background-color: #e97a0b;**/ color: #133b5c; background-color: #ffffff; font-size: 20px; width: 180px; font-family: 'Open Sans', sans-serif; border-radius: 15px; font-weight: 400; height:45px; border: none; cursor: pointer; margin: 20px 0; vertical-align: middle; display: inline-block; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .button-holder { text-align: center; } form .agreement { display: none; } form .agreement + *::before { content: ""; width: 25px; height: 25px; display: inline-block; margin: 0; margin-right: 10px; text-align: left; border-radius: 10px; font-size: 14px; } .explainer { margin-bottom: 20px; } form .agreement:checked + *::before { content:'\2713'; color: #f5f5fa; background-color: rgba(256,256,256,.2); text-align: center; } .beforeBorder + *::before { border: 2px solid #f5f5fa; } .afterBorder + *::before{ border: 2px solid #feec55; } form .label-agreement { display: inline-block; width: 538px; font-size: 13px; font-weight: 300px; } .register .privacy { font-size: 12px; text-align: left; margin-top: 15px; line-height: 1.2; text-align: justify; } .register .privacy a { color: #ffffff; cursor: pointer; text-decoration: underline; } .register .privacy .more { color: #f5f5fa; text-decoration: underline; cursor: pointer; } .register .extended-privacy { display: none; } footer { width: 100%; display: grid; grid-template-rows: 120px 40px; grid-template-columns: 40% 30% 30%; grid-gap: 2px; align-items: start; font-size: 16px; } footer img { display: inline-block; } footer a { text-decoration: none; cursor: pointer; } footer a:hover { color: #e97a0b; } footer div { margin-top: 30px; } footer .phone p, footer .email p, footer .partner p { display: inline; font-size: 16px; } footer .phone p { padding-bottom: 20px; } footer .partner { justify-self: end; align-self: start; } footer .company { line-height: 1.5; } footer .company img { margin-bottom: 10px; } footer .phone img, footer .email img { padding-right:5px; } footer .copy { font-size: 13px; align-self: start; } /*media queries*/ @media (max-width: 600px) { #section-hassouu { min-height: 0 !important; } header { display: grid; grid-template-rows: 83px; grid-template-columns: 1fr; align-items: center; justify-items: center; } nav { display: none; } h2.header { font-size: 3vh; margin-top: 30px; margin-bottom: 30px; } .top .top-container { grid-template-rows: 80px 80px 250px 50px 80px; grid-template-columns: 100%; grid-row-gap: 2vh; } .top h3 { font-size: 1.8vh; } .top .webinar-date { font-size: 1.9vh } .top h1 { font-size: 2.5vh; } .top .top-desc { font-size: 1.7vh; text-align: center; line-height: 1.8; } .top .button { font-size: 1.6vh; width: 40vw; border-radius: 2vh; height:5vh; margin-top: 1vh; line-height: 5vh; } .program-container { display: grid; grid-template-rows: repeat(10, 60px); grid-template-columns: 100%; justify-items: center; align-items: center; } .topic { font-size: 1.9vh; width: 100%; } .organizers { display: grid; grid-template-rows: 40px 60px 60px; grid-template-columns: 1fr; grid-column-gap: 30px; align-items: center; justify-items: center; } .organizers-header { grid-column: 1; } .organizers h3 { font-size: 2vh; font-weight: 600; text-transform: uppercase; } .program-container h3 { font-size: 2vh; font-weight: 600; } .organizers-logo-1 { justify-self: center; } .organizers-logo-1>img, .organizers-logo-2>img { width: 130.5px; height: 52.5px; } .organizers-logo-2 { justify-self: center; } .expert { grid-template-rows: 200px 80px 200px 80px ; grid-template-columns: 1fr; grid-row-gap: 20px; } .expert-details { font-size: 1.7vh; } .expert-details span { font-size: 1.8vh; font-weight: 700; } .expert-desc-2 { grid-row: 2 / 3; justify-self: center; align-self: center; text-align: center; } .expert-photo-2 { grid-row: 1 / 2; align-self: center; justify-self: center; } .promo p { font-size: 2.1vh; font-weight: 300; text-align: center; margin-bottom: 4vh; } .promo-container { margin: 0 auto; width: 90%; display: grid; grid-template-rows: 220px 220px 50px; grid-template-columns: 100%; } .promo-gift { justify-self: center; align-self: center; margin-bottom: 30px; } .gift-desc { grid-column: 1; } #section-en23vo6 { height: 1500px; } form, input, .input-container { width: 90%; } form .label-agreement { width: 98%; } form .button { font-size: 1.5vh; width: 11vh; border-radius: 2vh; height:5vh; margin: 20px 0; vertical-align: middle; display: inline-block; -webkit-appearance: none; -moz-appearance: none; appearance: none; } footer { width: 90%; display: grid; grid-template-rows: 100px 25px 25px 25px; grid-template-columns: 1fr; grid-gap: 23px; align-items: center; justify-items: center; font-size: 14px; text-align: center; margin: 0 auto; } footer div { margin: 0; } form .button { border: none; } footer .company { justify-self: center; align-self: center; margin: 0 auto; } footer .email { justify-self: center; align-self: center; margin: 0 auto; } footer .address { justify-self: center; align-self: center; margin: 0 auto; } footer .phone { justify-self: center; align-self: center; margin: 0 auto; } footer .copy { align-self: start; margin: o auto; } } </style> </head>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<header> <div class="logo"> <img src="https://multimedia.getresponse.com/getresponse-zr6bL/photos/831be949-fa71-43a2-b611-258cd927ede7.png"> </div> <nav> <ul> <li id="menu-1" class="menu"><a href="#program">Program webinaru</a></li> <li id="menu-2" class="menu"><a href="#promo">Konkurs</a></li> <li id="menu-3" class="menu"><a href="#register">Rejestracja</a></li> </ul> </nav> </header>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<section class="top"> <div class="top-container"> <div class="cont-1"> <h3>Webinar na żywo</h3> </div> <div class="cont-2"> <h1>Wyzwania w życiu administratora na 2021 rok!</h1> </div> <div class="cont-3"> <p class="top-desc">Jak zarządzać, monitorować i skutecznie kontrolować infrastrukturę IT w organizacji?<br> Jak zapewnić bezpieczeństwo użytkowników? - metody aktywnej ochrony i polityki bezpieczeństwa.<br>Jak skrócić obsługę zgłoszeń do kilku kliknięć myszką i zaoszczędzić do 44 godzin w miesiącu?<br> Z jakich narzędzi korzystać?<br>Odpowiedź na te pytania usłyszysz w trakcie najbliższego webinaru!</p> </div> <div class="cont-4"> <p class="webinar-date">15 kwietnia, godz. 11:00</p> </div> <div class="cont-5"> <button id="menu-4" class="button menu">Weź udział za darmo</button> </div> </div> </section>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<section class="program menu-1"> <h2 class="header"><span>Program</span> webinaru</h2> <div class="container program-container"> <h3>Część 1</h3> <div class="topic topic-1"> <p class="topic-left"><span>Praca zdalna vs. trudności we właściwej ochronie</span></p> </div> <div class="topic topic-2"> <p class="topic-left"><span>Administrator też człowiek, czyli też czasami pracuje zdalnie</span></p> </div> <div class="topic topic-3"> <p class="topic-left"><span>Bezpieczeństwo przetwarzanych danych i właściwe zarządzanie użytkownikami</span></p> </div> <div class="topic topic-4"> <p class="topic-left"><span>Właściwa komunikacja między pracownikami a personelem zespołu IT</span></p> </div> <div class="topic topic-5"> <p class="topic-left"><span>Zawsze aktualna informacja o stanie stacji roboczej pracownika</span></p> </div> <div class="topic topic-6"> <p class="topic-left"><span>Ochrona danych przed wyciekiem</span></p> </div> <div class="topic topic-7"> <p class="topic-left"><span>Rozliczalność w służbie RODO</span></p> </div> <h3>Część 2</h3> <div class="topic topic-8"> <p class="topic-left"><span>Case Study z wdrożenia nVision dla firmy pracującej na 3 kontynentach</span></p> </div> </div> <div class="organizers"> <div class="organizers-header"> <h3>Organizatorzy</h3> </div> <div class="organizers-logo-1"> <img src="https://us-ms.gr-cdn.com/getresponse-zr6bL/photos/69846164-67c4-479b-9dd6-5eabbe4bf3c7.png"> </div> <div class="organizers-logo-2"> <img src="https://us-ms.gr-cdn.com/getresponse-zr6bL/photos/ce4453de-fd12-4f5d-9866-8760d02d8d6b.png"> </div> </div> </section>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<section class="expert-sec"> <h2 class="header header-secondary"><span>Eksperci</span> webinaru</h2> <div class="expert"> <div class="expert-photo expert-photo-1"> <img src="https://multimedia.getresponse.com/getresponse-zr6bL/photos/8f66a695-5c83-4b87-9a32-282204310bc5.png" width="158" height="169"> </div> <div class="expert-photo expert-photo-2"> <img src="https://us-ms.gr-cdn.com/getresponse-zr6bL/photos/adf9e5c7-cd1e-4878-bc82-1c0142132129.png" width="158" height="169"> </div> <div class="expert-desc expert-desc-1"> <p class="expert-details"> <span>Piotr Wojtasik</span><br> Certyfikowany Trener, Inżynier Sprzedaży<br> <strong>Axence</strong> </p> </div> <div class="expert-desc expert-desc-2"> <p class="expert-details"> <span>Damian Pajdowski</span><br> Menadżer z wieloletnim doświadczeniem w IT<br> <strong>Macrobond Financial Polska</strong> </p> </div> </div> </section>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<section class="promo menu-2"> <h2 class="header"><span>Konkurs</span> dla uczestników</h2> <div class="promo-container"> <div class="promo-gift promo-gift-left"> <img src="https://multimedia.getresponse.com/getresponse-zr6bL/photos/c519b57e-8568-4e5c-a8af-ba513ffb0122.png"> </div> <div class="promo-gift promo-gift-right"> <img src="https://multimedia.getresponse.com/getresponse-zr6bL/photos/bdbf56cc-8b15-48f3-b7ef-3861d8e2cedb.png"> </div> <div class="gift-desc"> <p>Dla najaktywniejszych do wygrania: opaska Xiaomi lub gadżety Axence.</p> </div> </div> </section>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<section class="register menu-3 menu-4"> <div class="container register-container"> <h2 class="header header-secondary"><span>Rejestracja</span> na webinar</h2> <form action="https://app.getresponse.com/add_subscriber.html" accept-charset="utf-8" method="post" novalidate> <div class="input-container"> <label alt="Imię">Imię:</label> <input type="text" name="first_name" required/> </div> <div class="input-container"> <label alt="Nazwisko">Nazwisko:</label> <input type="text" name="last_name" required/> </div> <div class="input-container"> <label alt="Adres e-mail">Adres e-mail:</label> <input type="email" name="email" required/> </div> <div class="input-container"> <label alt="Telefon">Telefon:</label> <input name="custom_telefon" type="text" pattern="\+48[0-9]{9}" value="" required /> </div> <div class="input-container"> <label alt="Firma">Firma:</label> <input name="custom_company" type="text" value="" required/> </div> <div class="input-container"> <label alt="Liczba komputerów w firmie">Liczba komputerów w firmie:</label> <input name="custom_liczba_urzadzen" type="number" value="" required/> <p class="explainer">Wszystkie pola obowiązkowe</p> </div> <div class="input-container"> <label class="label-agreement" for="webform_consent#hPxg_0"> <input class="agreement beforeBorder" id="webform_consent#hPxg_0" type="checkbox" name="webform[consent#hPxg-ver#zmSV]" value="true" required/> <span>Wyra&#380;am zgod&#281; na otrzymywanie od Axence Sp. z o. o. Sp. K. lub partner&oacute;w Axence informacji marketingowych o produktach Axence na podany adres e-mail i numer telefonu (np. przedstawienie oferty).&nbsp;</span></label> <br/> <div class="validation-info"></div> </div> <!-- Token listy --> <!-- Pobierz token na: https://app.getresponse.com/campaign_list.html --> <input type="hidden" name="campaign_token" value="MoGP5" /> <!-- Strona z podziękowaniem (opcjonalnie) --> <input type="hidden" name="thankyou_url" value="https://webinaria.axence.net/wyzwania-administratora-2021/dziekujemy"/> <!-- Przycisk zapisu --> <div class="button-holder"> <input class="button button-submit" type="submit" value="Zarejestruj się"/> </div> <p class="privacy">Zaznaczenie checkboxa jest dobrowolne i oznacza, że wyrażasz zgodę na przetwarzanie danych osobowych w zakresie adresu email / nr telefonu oraz innych podanych danych w celu realizacji marketingu bezpośredniego przez Axence Sp. z o. o. Sp. K. poprzez kontakt mailowy lub telefoniczny. Administratorem danych jest Axence Sp. z o. o. Sp. K. ul. Na Zjeździe 11, 30-527 Kraków, NIP: 6751399589. <span class="more" href="#">Pokaż więcej</span><br> <span class="extended-privacy">Dane będą przetwarzane w celu przygotowania i przeprowadzenia szkolenia (podstawa prawna: art. 6 ust. 1 lit. b) rodo a jeżeli wyrazisz powyższą zgodę także w celu marketingu bezpośredniego administratora danych (podstawa: art. 6 ust. lit. a) rodo, realizowanego poprzez wysyłkę mailingu lub telemarketingu, w zależności od wyboru (zob. art. 10 ustawy o świadczeniu usług drogą elektroniczną oraz art. 172 prawa telekomunikacyjnego). Wyrażenie zgody jest dobrowolne a zgoda może być wycofana w każdej chwili, co nie wpłynie na zgodność z prawem przetwarzania, którego dokonano na podstawie zgody przed jej wycofaniem. Zgodę możesz wycofać wysyłając takie żądanie na adres e-mail: <a href="mailto:dane.osobowe@axence.net">dane.osobowe@axence.net.</a> Osobie, której dane są przetwarzane przysługuje prawo do żądania od administratora dostępu do danych osobowych dotyczących osoby, której dane dotyczą, ich sprostowania, usunięcia lub ograniczenia przetwarzania lub o prawie do wniesienia sprzeciwu wobec przetwarzania, a także o prawie do przenoszenia danych a także o prawo do wniesienia skargi do organu nadzorczego (zob. uodo.gov.pl). Dane nie będą udostępniane do celów marketingowych innych podmiotów. Więcej: <a href="https://axence.net/pl/polityka-prywatnosci">polityka prywatności.</a></span></p> </form> </div> </section>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<script> const formFields = document.querySelectorAll('input'); const spanLink = document.querySelector('.more'); const extendedPrivacy = document.querySelector('.extended-privacy'); const btnSubmit = document.querySelector('.button-submit'); const checkAgr = document.querySelector('.agreement'); const validInfo = document.querySelector('.validation-info'); let firstNameField = document.querySelector('[name=first_name]'); let lastNameField = document.querySelector('[name=last_name]'); let emailField = document.querySelector('[name=email]'); let companyField = document.querySelector('[name=custom_company]'); let phoneField = document.querySelector('[name=custom_telefon]'); let devicesField = document.querySelector('[name=custom_liczba_urzadzen]'); formFields.forEach(formField => { formField.addEventListener('blur', e => { let fieldLabel = e.target.previousElementSibling; if(e.target.value.length < 1) { e.target.style.borderColor = '#feec55'; fieldLabel.style.color = '#feec55'; fieldLabel.textContent = `Pole "${fieldLabel.getAttribute('alt')}" nie może być puste`; } else if(e.target.type == 'email' && !e.target.value.includes('@')) { e.target.style.borderColor = '#feec55'; fieldLabel.style.color = '#feec55'; fieldLabel.textContent = `Pole "${fieldLabel.getAttribute('alt')}" jest niepoprawne`; } else if(e.target.name == 'custom_telefon' && e.target.checkValidity() == false) { fieldLabel.style.color = '#feec55'; fieldLabel.textContent = `Format pola "${fieldLabel.getAttribute('alt')}" jest niepoprawny. Wpisz numer w formacie: "+48XXXXXXXXX"`; } else { e.target.style.borderColor = '#f5f5fa'; fieldLabel.style.color = '#f5f5fa'; fieldLabel.textContent = fieldLabel.getAttribute('alt') + ":"; } }) }) spanLink.addEventListener('click', e => { if(extendedPrivacy.style.display == 'none' || extendedPrivacy.style.display == '' ) { extendedPrivacy.style.display = 'block'; e.target.textContent = 'Pokaż więcej' } else { extendedPrivacy.style.display = 'none'; e.target.textContent = 'Pokaż mniej' } }) btnSubmit.addEventListener('click', e => { if(firstNameField.value.length < 1) { firstNameField.style.borderColor = '#feec55'; firstNameField.previousElementSibling.style.color = '#feec55'; firstNameField.previousElementSibling.textContent = `Pole "${firstNameField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(lastNameField.value.length < 1) { lastNameField.style.borderColor = '#feec55'; lastNameField.previousElementSibling.style.color = '#feec55'; lastNameField.previousElementSibling.textContent = `Pole "${lastNameField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(emailField.value.length < 1) { emailField.style.borderColor = '#feec55'; emailField.previousElementSibling.style.color = '#feec55'; emailField.previousElementSibling.textContent = `Pole "${emailField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(emailField.value.length > 1 && !emailField.value.includes('@')) { emailField.style.borderColor = '#feec55'; emailField.previousElementSibling.style.color = '#feec55'; emailField.previousElementSibling.textContent = `Pole "${emailField.previousElementSibling.getAttribute('alt')}" jest niepoprawne`; e.preventDefault() } if(phoneField.value.length < 1) { phoneField.style.borderColor = '#feec55'; phoneField.previousElementSibling.style.color = '#feec55'; phoneField.previousElementSibling.textContent = `Pole "${phoneField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(emailField.value.length > 1 && phoneField.checkValidity() == false) { phoneField.style.borderColor = '#feec55'; phoneField.previousElementSibling.style.color = '#feec55'; phoneField.previousElementSibling.textContent = `Format pola "${phoneField.previousElementSibling.getAttribute('alt')}" jest niepoprawny. Wpisz numer w formacie: "+48XXXXXXXXX"`; e.preventDefault() } if(companyField.value.length < 1) { companyField.style.borderColor = '#feec55'; companyField.previousElementSibling.style.color = '#feec55'; companyField.previousElementSibling.textContent = `Pole "${companyField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(devicesField.value.length < 1) { devicesField.style.borderColor = '#feec55'; devicesField.previousElementSibling.style.color = '#feec55'; devicesField.previousElementSibling.textContent = `Pole "${devicesField.previousElementSibling.getAttribute('alt')}" nie może być puste`; e.preventDefault() } if(checkAgr.checked) { validInfo.textContent = ''; checkAgr.classList.remove('afterBorder'); } else { validInfo.style.color = '#feec55'; validInfo.textContent = 'Wymagana akceptacja zgody'; checkAgr.classList.add('afterBorder'); e.preventDefault() } }) checkAgr.addEventListener('change', e => { if(checkAgr.checked) { validInfo.textContent = ''; checkAgr.classList.remove('afterBorder'); } else { validInfo.style.color = '#feec55'; validInfo.textContent = 'Wymagana akceptacja zgody'; checkAgr.classList.add('afterBorder'); } }) let menuLinks = document.querySelectorAll(".menu") menuLinks.forEach((menuLink) => { menuLink.addEventListener('click', () => { menuId = menuLink.getAttribute("id") document.querySelector(`.${menuId}`).scrollIntoView({ "behavior": "smooth" }) }) }) </script>
To jest placeholder.
Przejdź do trybu Podglądu lub opublikuj stronę,
aby sprawdzić działanie swojego kodu.
Kliknij dwa razy, aby edytować
<footer> <div class="company"> <img src="https://multimedia.getresponse.com/getresponse-zr6bL/photos/2c46fe8d-e550-411a-ac16-7b00472b936c.png"><br> <p class="address">Axence Sp. z o. o. Sp. K.<br> ul. Na Zjeździe 11, 30-527 Kraków</p> </div> <div class="phone"> <img src="https://us-ms.gr-cdn.com/getresponse-zr6bL/photos/f9034971-ea4b-4e80-b94b-8a56cb21cd60.png"> <p>+48 12 448 13 56</p> </div> <div class="email"> <img src="https://us-ms.gr-cdn.com/getresponse-zr6bL/photos/0b00f10c-69aa-47d3-bd18-73ffa6ebf0b8.png"> <p><a href="mailto:lukasz.szefler@axence.net">lukasz.szefler@axence.net</a></p> </div> <div class="copy"> <p class="copy">Copyright &copy; Axence Sp. z o. o. Sp. K</p> </div> </footer>