This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"> | |
<title>Tabs</title> | |
</head> | |
<body> | |
<div class="mytabs"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="section"> | |
<h1>Welcome To Paradise</h1> | |
<div class="video-container"> | |
<div class="color-overlay"></div> | |
<video autoplay loop muted> | |
<source src="video.mp4" type="video/mp4"> | |
</video> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<link | |
rel="stylesheet" | |
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const rgx = /^(\(\d{3}\)|\d{3})-?\d{3}-?\d{4}$/g | |
const phoneNumber = document.querySelector('.phone-number') | |
const phoneNumberInput = phoneNumber.querySelector('input') | |
const getNumbers = (event) => { | |
console.log(event) | |
if(rgx.test(event.target.value)){ | |
phoneNumberInput.classList.add('accepted') | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const apiData = { | |
url: 'https://pokeapi.co/api/v2/', | |
type: 'pokemon', | |
id: '25', | |
} | |
const {url, type, id} = apiData | |
const apiUrl = `${url}${type}/${id}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"particles": { | |
"number": { | |
"value": 80, | |
"density": { | |
"enable": true, | |
"value_area": 800 | |
} | |
}, | |
"color": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg | |
class="curve" | |
xmlns="http://www.w3.org/2000/svg" | |
version="1.1" | |
width="100%" | |
height="100" | |
viewBox="0 0 100 100" | |
preserveAspectRatio="none" | |
> | |
<path d="M0 100 C 20 0 50 0 100 100 Z"></path> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"particles": { | |
"number": { | |
"value": 100, | |
"density": { | |
"enable": true, | |
"value_area": 800 | |
} | |
}, | |
"color": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>zzz dog</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* Template Name: Awesome Page */ | |
get_header(); | |
?> | |
<div class="latest-posts"></div> | |
<script> |
NewerOlder