- Valid email + valid password =
login success
- Valid email + invalid password =
incorrect details
error - Unregistered email + some password =
incorrect details
error
(The tricky part where the magic happens)
*, ::after, ::before { | |
box-sizing: border-box; | |
border-width: 0; | |
border-style: solid; | |
border-color: #e5e7eb | |
} | |
::after, ::before { | |
--tw-content: '' | |
} | |
:host, html { |
for (const passwordInput of document.querySelectorAll('input[type=password]')) { | |
passwordInput.addEventListener('keydown', function (event) { | |
if (this.getAttribute('type') !== 'password') return; | |
if (event.ctrlKey && event.key === 'x') this.value = ''; | |
}); | |
} |
import subprocess | |
def compress_mov_to_mp4_ffmpeg(input_file, output_file, bitrate='1000k'): | |
command = ['ffmpeg', '-i', input_file, '-b:v', bitrate, output_file] | |
subprocess.call(command) | |
# Example usage | |
compress_mov_to_mp4_ffmpeg('input.mov', 'output.mp4') |
<label for="1">CLICK 1!</label> | |
<label for="2">CLICK 2!</label> | |
<label for="3">CLICK 3!</label> | |
<div class="popups"> | |
<input type="checkbox" id="1" /> | |
<div class="modal"> | |
<div class="modal__inner"> | |
<p>1</p> |