Skip to content

Instantly share code, notes, and snippets.

View saeedvakili1's full-sized avatar
๐Ÿ˜€

Saeed Vakili saeedvakili1

๐Ÿ˜€
View GitHub Profile
@saeedvakili1
saeedvakili1 / index.html
Created March 6, 2023 06:53
Travel Video Landing Page
<!-- Video Source -->
<!-- https://www.pexels.com/video/aerial-view-of-beautiful-resort-2169880/ -->
<section class="showcase">
<header>
<h2 class="logo">Travel</h2>
<div class="toggle"></div>
</header>
<video src="https://traversymedia.com/downloads/videos/explore.mp4" muted loop autoplay></video>
<div class="overlay"></div>
<div class="text">
const user = { age: null };
// if (!user.age) user.age = "unknown";
user.age ??= "unknown";
console.log(JSON.stringify(user));