Loading . . .

Create 3D Cubes Spin into New Year using HTML, CSS & JavaScript

Create a Mental Wellness Partner Website using HTML, CSS & JavaScript

Create a Mesmerizing Marquee Text using HTML & CSS

Create a QR Code Login Template using HTML, CSS & JavaScript

Create a Stunning Matrix Like Rain Effect using HTML, CSS & JavaScript

Create Spectacular Diwali Animation using HTML, CSS & JavaScript

Create a Trippy Loader using HTML & CSS

Create Super Smooth Gradient Animation using HTML, CSS & JavaScript

Create a Whimsical Snow Ball Loader using HTML & CSS

Create a Minimalist Web Developer Portfolio using HTML, CSS & JavaScript

Create a Dizzying Text Spirals using HTML, CSS & JavaScript

Create an Advertisement Brand Website using HTML & CSS

Create a Bouncing Responsive Menu using HTML & CSS

Create Barrel Effect using HTML, CSS & JavaScript

Create Dazzling Neon Loops & Orbs using HTML & CSS

Create Incredible 3d Cube Animation using HTML & CSS

Create Sublime Shiva Animation using HTML & CSS

Create Hypnotic and Colourful Magical Rings using HTML & CSS

Create a 3d Spinning Rings Animation using HTML & CSS

Create a Beautiful Background Animation using HTML & CSS

Create a 7 Segment Neon Digital Clock using HTML, CSS & JavaScript

Create a Satisfying Abacus Clock using HTML, CSS & JavaScript

Create a 3d Loading Text Animation using HTML & CSS

Create a 3d Effect Loading Spinner using HTML & CSS

Create a Fireworks Typing Effect using HTML, CSS & JavaScript

Create Hypnotic Ellipses and Springs using HTML & CSS

Create a Visual Symphony using HTML & CSS

Create a Glowing Blue Tinted Button using HTML & CSS

Create a Modern Team Page using HTML & CSS

Create Animated Rings Login Form using HTML & CSS

Create Bubble Adventure using HTML, CSS & JavaScript

Spectral Spin Circles using HTML & CSS

3D Room 404 Errorverse using HTML & CSS

Team Spotlight using HTML & CSS

Fireflower Fiery Flourish using HTML & CSS

Luxury Tourism Website using HTML & CSS

Company Website Template using HTML & CSS

Nature's Nest Soap using HTML & CSS

Pawfect Wellness using HTML & CSS

Account Creation Hub using HTML & CSS

Accelerate Login Form using HTML & CSS

Valentine Art Love Pixels using HTML, CSS & JavaScript

Animated Valentine's Delight using HTML & CSS

A Tapestry of Eternal Love using HTML & CSS

Gleaming Moments Wedding Invitation using HTML & CSS

Elevate your Login Experience using HTML & CSS

Snowy New Year Celebration using HTML, CSS & JavaScript

Frosty Interactive Christmas Delight using HTML, CSS & JavaScript

Quest Search Page Template using HTML, CSS & JavaScript

Creative Button Artistry using HTML, CSS & JavaScript

Elevate Search Horizon Template using HTML, CSS & JavaScript

Joyful Cake & Balloon Animation using HTML, CSS & JavaScript

Explore Search Page Template using HTML, CSS & JavaScript

Minimal Search Page Template using HTML & CSS

Soothing Gradient Elegance using HTML & CSS

Interactive Profile Card using HTML & CSS

Chic Navbar Navigation using HTML & CSS

Search Page Template using HTML, CSS & JavaScript

Evolving Abstract Art using HTML, CSS & JavaScript

Happy Diya-Lit Diwali using HTML & CSS

Interactive Text Split Effect using HTML & CSS

Artistic Triangle Symphony using HTML & CSS

Button Burst Visual Delight using HTML, CSS & JavaScript

Elegance Animated Typing using HTML, CSS & JavaScript

Journey of Lord Rama using HTML, CSS & JavaScript

Divine Goddesses Gallery using HTML, CSS & JavaScript

Morphing Transition Menu using HTML & CSS

Sticky Smooth Slider Nav using HTML, CSS & JavaScript

Dazzling Neon Typography using HTML & CSS

Glowing Backlight Effect using HTML & CSS

Order Process Steps using HTML & CSS

Text with Gradient Border using HTML & CSS

Login Signup Form Transition using HTML, CSS & JavaScript

A Flower Shower of Blessings using HTML, CSS & JavaScript

Water Waves using HTML, CSS & JavaScript

Flying Origami Bird using HTML & CSS

Glowing Meteor using HTML & CSS

Crafting a World Beyond The Sky using HTML & CSS

Floral Tribute to Flag using HTML, CSS & JavaScript

Tri Hexa Loader using HTML & CSS

Zephyr the Husky using HTML & CSS

Sculpting Shivling Typography using HTML & CSS

Multiple Parallax Effect using HTML, CSS & JavaScript

Scroll Micro Animation using HTML & CSS

Shrink Expand Menu using HTML & CSS

Slideshow Ken Burns Effect using HTML & CSS

Sleek Hamburger Fold Out using HTML & CSS

3d Card using HTML & CSS

Yoga Pose using HTML & CSS

Father's Day Wish Card using HTML, CSS & JavaScript

Flip Opening Modal Button using HTML, CSS & JavaScript

Multiple Scroll Button using HTML & CSS

Glass Keyboard using HTML & CSS

Animated Vertical Tabs using HTML, CSS & JavaScript

Full Page Parallax Scroll Effect using HTML, CSS & JavaScript

Social Buttons using HTML & CSS

Image Accordion using HTML, CSS & JavaScript

Blog Cards using HTML & CSS

Accordions using HTML & CSS

Flowers on Cake using HTML & CSS

Wedding Invitation with Timer using HTML, CSS & JavaScript

Wedding Invitation using HTML & CSS

Couple Name Text Animation using HTML & CSS

Minimal Toggles using HTML & CSS

Revolving Mesmerizing Semi Circles using HTML & CSS

Day Night Toggle using HTML & CSS

Particles Form Neon Hexagons using HTML, CSS & JavaScript

Elastic Text using HTML & CSS

Custom Checkboxes using HTML & CSS

Tic Tac Toe Game using HTML & CSS

3d Text Animation using HTML & CSS

Hamburger Animation using HTML, CSS and JavaScript

Balkan Style Image Gallery using HTML, CSS and JavaScript

Minimalist Loading Page using HTML and CSS

Glitch Clock using HTML, CSS and JavaScript

Digital Clock using HTML, CSS and JavaScript

Round Blob Music Visualizer using HTML, CSS and JavaScript

Cursor Splashing Colours using HTML, CSS and JavaScript

Music Player Visualizer using HTML, CSS and JavaScript

Adjustable Audio Waveform using HTML, CSS and JavaScript

Random Sound Bars using HTML and CSS

Jiggle Wiggle Waveform using HTML and CSS

Heart Eyes using HTML and CSS

Popping Hearts using HTML, CSS and JavaScript

Chaotic Lines Heart using HTML, CSS and JavaScript

Envelope with Letter using HTML & CSS

Moving Particles Animation using HTML, CSS and JavaScript

Interactive Text Masking using HTML, CSS and Javascript

Tri-Colour Flying Balloons using HTML, CSS & JavaScript

Responsive Tabs using HTML & CSS

Mouse Following Box using HTML, CSS & JavaScript

Circular Menu using HTML, CSS & JavaScript

Kite & Cloud Flying Animation using HTML & CSS

Mars Landing using HTML & CSS

Custom Animation Inputs using HTML & CSS

New Year with Snow Falling using HTML, CSS & JavaScript

Skewed 3d Navbar Menu using HTML & CSS

Christmas Animations using HTML & CSS

Sliding Menu using HTML, CSS & JavaScript

Navbar Menu using HTML, CSS & JavaScript

Text Revealing on Hover using HTML & CSS

MacBook revolves in Air using HTML & CSS

Confetti follows the curser using HTML, CSS & JavaScript

Circular Form using HTML, CSS & JavaScript

Rotating Rings Around Text using HTML & CSS

Seconds Counter using HTML, CSS & JavaScript

Baby Animation using HTML & CSS

Simple Loading Page using HTML & CSS

Typewriter using HTML & CSS

Rolling Cube 404 Page using HTML & CSS

Neon Light 404 Page using HTML & CSS

Bookshelf 404 Page using HTML & CSS

Scary 404 Page using HTML & CSS

Diwali Diya & Firework Animation using HTML, CSS & JavaScript

Blinking 404 Page using HTML & CSS

Burger 404 Page using HTML & CSS

Terminal Style 404 Page using HTML & CSS

Image Gallery using HTML, CSS & JavaScript

Gandhi & Shastri Jayanti Wish using HTML & CSS

Happy Navaratri Wish using HTML, CSS & JavaScript

Vertical Image Carousel #4 using HTML, CSS & JavaScript

Vertical Image Carousel #3 using HTML, CSS & JavaScript

Vertical Image Carousel #2 using HTML & CSS

Vertical Image Carousel #1 using HTML & CSS

Horizontal Image Carousel #11 using HTML, CSS & JavaScript

Teachers Day Wish Chat Animation using HTML, CSS & JavaScript

SVG Drawing & BG Animation & using HTML, CSS & JavaScript

Horizontal Image Carousel #10 using HTML, CSS & JavaScript

Horizontal Image Carousel #9 using HTML & CSS

Flag Hosting with Flying Flag using HTML, CSS & JavaScript

Horizontal Image Carousel #8 using HTML & CSS

Greeting follows Mouse Movement using HTML, CSS & JavaScript

Horizontal Image Carousel #7 using HTML & CSS

Horizontal Image Carousel #6 using HTML & CSS

Horizontal Image Carousel #5 using HTML & CSS

Horizontal Image Carousel #4 using HTML & CSS

Horizontal Image Carousel #3 using HTML & CSS

Horizontal Image Carousel #2 using HTML & CSS

Horizontal Image Carousel #1 using HTML, CSS & JavaScript

Image Popup on Hover using HTML & CSS

Infinite Pencil Loader using HTML & CSS

Lappy - A Laptop using HTML & CSS

Eco Theme Button Popup using HTML & CSS

Buttons with Gradient Animation using HTML & CSS

Gradient Buttons Animation on Hover using HTML & CSS

Father's Day Wish using HTML & CSS

Modal Popup on Button Click using HTML & CSS

Button Glow Animation on Hover using HTML & CSS

Button Shines Animation on Hover using HTML & CSS

Jumping Text Animation with Reflection using HTML & CSS

CyberPunk Inspired 404 Page using HTML & CSS

Jumping Letters Animation using HTML & CSS

Holi Wishes using HTML & CSS

Rotating Border Animation using HTML & CSS

Women Typography using HTML & CSS

Sliced Text Animation Using HTML & CSS

Text Shadow Animation using HTML & CSS

Create Fading Hearts Animation using HTML, CSS & JavaScript

Create Tetris Heart Animation using HTML & CSS

Create the Flying Indian Flag Animation using HTML & CSS

Create Makar Sankranti Wishes using HTML, CSS & JavaScript

Create New Year Wishes using HTML & CSS

Create Merry Christmas Wishes using HTML, CSS & JavaScript

Create Ganesh Chaturthi Wishes using HTML & CSS

Create the Indian Flag using HTML & CSS

Create a Password Generator using HTML, CSS & JavaScript

Create a Custom Alert Box using HTML, CSS & JavaScript


Disclaimer: Educational Purposes Only

The content on this website, including videos and code examples, is for educational purposes only. All demonstrations and designs are fictional and created to illustrate coding techniques. Any resemblance to existing websites or brands is purely coincidental.

The creators and administrators of this website do not claim ownership or affiliation with any existing websites or companies. Users are encouraged to use the information responsibly for learning purposes. Liability for any misuse of the content provided is not accepted.

Journey of Lord Rama using HTML, CSS & JavaScript

Below is the html code for this video.

index.html


<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Happy Dussehra</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="book">
        <div id="pages" class="pages">
            <div class="page">
                <h1>A depiction of the Ramayana</h1>
            </div>
            <div class="page"></div>
            <div class="page">
                <h1>Introducing</h1>
            </div>
            <div class="page">
                <img src="introducing goddess sita.png" alt="Introducing Goddess Sita">
            </div>
            <div class="page">
                <h4>Goddess Sita</h4>
            </div>
            <div class="page">
                <h4>Lord Rama</h4>
            </div>
            <div class="page">
                <img src="introducing lord ram.webp" alt="Introducing Lord Rama">
            </div>
            <div class="page">
                <img src="introducing lord hanuman.webp" alt="Introducing Lord Hanuman">
            </div>
            <div class="page">
                <h4>Lord Hanuman</h4>
            </div>
            <div class="page">
                <h4>Ravana</h4>
            </div>
            <div class="page">
                <img src="introducing ravan.webp" alt="Introducing Ravan">
            </div>
            <div class="page"></div>
            <div class="page">
                <h1>Now Story Begins...</h1>
            </div>
            <div class="page">
                <img src="king janaka talking to lord ram.webp" alt="King Janaka Talking to Lord Rama">
            </div>
            <div class="page">
                <h4>
                    Lord Rama got married to Goddess Sita. King Janaka talks to Lord Rama wishing happy married life.
                </h4>
            </div>
            <div class="page">
                <h4>King Janaka hugging Goddess Sita after marriage.</h4>
            </div>
            <div class="page">
                <img src="king janaka hugging goddess sita after marriage.png" alt="King Janaka hugging Goddess Sita">
            </div>
            <div class="page"></div>
            <div class="page">
                <h1>After some days of marriage...</h1>
            </div>
            <div class="page">
                <img src="king dashratha saying lord ram to leave for wan.webp" alt="King Dashratha saying Lord Rama">
            </div>
            <div class="page">
                <h4>King Dashratha asked Lord Rama to leave for 14 years long exile.</h4>
            </div>
            <div class="page">
                <h4>King Dashratha&apos;s final hug to Lord Rama before leving for exile.</h4>
            </div>
            <div class="page">
                <img src="king dashratha final hug with lord ram.webp" alt="King Dashratha Final Hug">
            </div>
            <div class="page">
                <img src="lord ram goddesses sita and lakshmana leaving.webp" alt="Lord Rama leaves for exile">
            </div>
            <div class="page">
                <h4>Then Lord Rama leaves for the forest along with Goddess Sita and his brother Lakshmana.</h4>
            </div>
            <div class="page"></div>
            <div class="page">
                <h1>Now exile begins...</h1>
            </div>
            <div class="page">
                <img src="goddess sita praying to lord shiva.webp" alt="Goddess Sita praying">
            </div>
            <div class="page">
                <h4>Goddess Sita worships Lord Shiva.</h4>
            </div>
            <div class="page">
                <h4>Lord Rama and Lakshmana wait for food.</h4>
            </div>
            <div class="page">
                <img src="lakshmana and lord ram waiting for food while sitting under a tree.webp"
                    alt="Lakshmana waits for food">
            </div>
            <div class="page">
                <img src="goddess sita cooking food.png" alt="Goddess Sita cooking">
            </div>
            <div class="page">
                <h4>In the meantime Goddess Sita is cooking food.</h4>
            </div>
            <div class="page"></div>
            <div class="page">
                <h1>After some days...</h1>
            </div>
            <div class="page">
                <img src="goddess sita hugging deer.png" alt="Goddess Sita Hugging Deer">
            </div>
            <div class="page">
                <h4>Goddess Sita wanted a golden deer. So she asked Lord Rama to bring that deer to her. Then Lord Rama
                    went to get the deer.</h4>
            </div>
            <div class="page">
                <h4>
                    Goddess Sita unwillingly crossed the Lakshmana Rekha to give food to Ravana in disguise as a monk.
                </h4>
            </div>
            <div class="page">
                <img src="goddess sita giving fruits to monk.png" alt="Goddess Sita giving fruits">
            </div>
            <div class="page">
                <img src="goddess sita kidnapped by ravan.webp" alt="Goddess Sita kidnapped">
            </div>
            <div class="page">
                <h4>Ravana kidnaps the Goddess Sita as she crosses the Lakshmana Rekha.</h4>
            </div>
            <div class="page">
                <h4>After being kidnapped by Ravana, Goddess Sita was crying remembering Lord Rama.</h4>
            </div>
            <div class="page">
                <img src="goddess sita crying.png" alt="Goddess Sita crying">
            </div>
            <div class="page">
                <img src="lord hanuman praying.webp" alt="Lord Hanuman praying">
            </div>
            <div class="page">
                <h4>Unknowingly Lord Hanuman was chanting Lord Rama&apos;s name.</h4>
            </div>
            <div class="page">
                <h4>After knowing the whole situation from Lord Rama and lakshmana. Lord Hanuman flew over the ocean to
                    find where the Goddess Sita is kept in Lanka.</h4>
            </div>
            <div class="page">
                <img src="lord hanuman flying.webp" alt="Lord Hanuman flying">
            </div>
            <div class="page">
                <img src="lord hanuman greets goddess sita.webp" alt="Lord Hanuman Greets">
            </div>
            <div class="page">
                <h4>After finding Goddess Sita, Lord Hanuman greets her. He asures her that Lord Rama is on his way to
                    rescue her.</h4>
            </div>
            <div class="page">
                <h4>Soldiers of Lanka put the fire on the tail of Lord Hanuman as Ravana ordered. But Lord Hanuman uses
                    his burning tail to burn the whole of Lanka.</h4>
            </div>
            <div class="page">
                <img src="lord hanuman with burning tail.webp" alt="Lord Hanuman with burning tail">
            </div>
            <div class="page">
                <img src="lakshmana and lord ram standing at beach.webp" alt="Lakshmana and Lord Rama at beach">
            </div>
            <div class="page">
                <h4>Lord Rama and Lakshmana pray to the ocean to provide them space to go to Lanka to bring back Goddess
                    Sita.</h4>
            </div>
            <div class="page">
                <h4>Goddess Sita waits for Lord Rama to come to rescue her.</h4>
            </div>
            <div class="page">
                <img src="goddess sita waiting.png" alt="Goddess Sita waiting">
            </div>
            <div class="page">
                <img src="lord rama preparing for fight.webp" alt="Lord Rama preparing">
            </div>
            <div class="page">
                <h4>Lord Rama, along with brother Lakshmana and others, was preparing for the battle with Ravana to
                    rescue Goddess Sita.</h4>
            </div>
            <div class="page">
                <h4>
                    On the battlefield, Lakshmana got severely injured. Lord Hanuman went to bring herbs(Sanjeevani).
                </h4>
            </div>
            <div class="page">
                <img src="lord hanuman carrying mountain.webp" alt="Lord Hanuman carrying mountain">
            </div>
            <div class="page">
                <img src="lord rama shooting three arrows.webp" alt="Lord Rama shooting">
            </div>
            <div class="page">
                <h4>Lord Rama was unstoppable on the battlefield. He killed Meghanath(Son of Ravana) and brother
                    Kumbhakaran.</h4>
            </div>
            <div class="page">
                <h4>It was time for the arrival of Ravana in front of Lord Rama on the battlefield.</h4>
            </div>
            <div class="page">
                <img src="ravana holding sword.webp" alt="Ravana holding sword">
            </div>
            <div class="page">
                <img src="lord ram attacking ravan.webp" alt="Lord Rama attacking Ravana">
            </div>
            <div class="page">
                <h4>There was a fierce battle between Lord Rama and Ravana.</h4>
            </div>
            <div class="page">
                <h4>In the end, Lord Rama killed the Ravana.</h4>
            </div>
            <div class="page">
                <img src="ravana died in war.webp" alt="Ravana died">
            </div>
            <div class="page">
                <h4>And this day is celebrated as the victory of Lord Rama and reunion with Goddess Sita. This day is
                    for the truth to triumph over evil.</h4>
            </div>
            <div class="page">
                <h4>On the auspicious occasion of Dussehra, burn all ego, hatred and anger within us, along with the
                    effigy of Ravana! Lord Rama, grant you strength and courage to walk the path of virtue and
                    righteousness.</h4>
            </div>
            <div class="page"></div>
        </div>
    </div>
    <script src="index.js"></script>
</body>

</html>

Below is the css code for this video.

style.css


@font-face {
    font-family: "samrakan";
    src: url("SAMAN___.ttf");
}

@font-face {
    font-family: "Calligraffitti";
    src: url("Calligraffitti-Regular.ttf");
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    height: 100vh;
    width: 100%;
    background: radial-gradient(#fe0944, #feae96);
    font-family: "samrakan";
    justify-content: center;
    align-items: center;
    line-height: 1.5em;
    padding: 2em 0;
}

.book {
    perspective: 250vw;
    transition: opacity 0.5s 0.25s;
}

.book .pages {
    position: relative;
    height: 44vw;
    width: 60vw;
    border-radius: 4px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.page {
    height: 44vw;
    width: 30vw;
    background-color: #111111;
    background: left top no-repeat;
    background-size: contain;
    margin-bottom: 0.5em;
    float: left;
}

.book .page {
    position: absolute;
    top: 0;
    height: 44vw;
    width: 30vw;
    background: #f6fba2;
    font-family: "samrakan";
    float: none;
    clear: none;
    transform-origin: 0 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s;
}

.book .page:hover {
    font-family: "Calligraffitti";
}

.book .page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    transition: background 0.75s;
    z-index: 2;
}

.book .page:nth-child(odd) {
    right: 0;
    background-image: linear-gradient(to right, #00000026 0%, transparent 10%);
    border-radius: 0 4px 4px 0;
    transform: rotateY(0deg);
    pointer-events: all;
}

.book .page:nth-child(odd):hover {
    transform: rotateY(-15deg);
}

.book .page:nth-child(odd):hover::before, .book .page.flipped:nth-child(even):hover::before {
    background: #0000000d;
}

.book .page:nth-child(odd)::before, .book .page.flipped:nth-child(even)::before {
    background: transparent;
}

.book .page:nth-child(even) {
    left: 0;
    background-image: linear-gradient(to left, #00000026 0%, transparent 10%);
    border-radius: 4px 0 0 4px;
    transform: rotateY(180deg);
    transform-origin: 100% 0;
    border-color: #000000;
    pointer-events: none;
}

.book .page:nth-child(even)::before, .book .page.flipped:nth-child(odd)::before {
    background: #00000040;
}

.page:nth-child(even) {
    clear: both;
}

.page:nth-child(odd) {
    background-position: right top;
}

.book .page.flipped:nth-child(odd) {
    transform: rotateY(-180deg);
    pointer-events: none;
}

.book .page.flipped:nth-child(even) {
    transform: rotateY(0deg);
    pointer-events: all;
}

.book .page.flipped:nth-child(even):hover {
    transform: rotateY(15deg);
}

h1, h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    color: #000000;
    text-align: center;
    letter-spacing: 2.5px;
    transition: all 0.25s;
}

h1 {
    font-size: 4vw;
    line-height: 6vw;
    color: #b92e34;
}

h4 {
    font-size: 2.5vw;
    line-height: 3.5vw;
}

img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: 100%;
}

Below is the javascript code for this video.

index.js


var pages = document.getElementsByClassName("page");
for (let i = 0; i < pages.length; i++) {
    var page = pages[i];
    page.style.zIndex = (i % 2 === 0) && pages.length - i;
}
document.addEventListener("DOMContentLoaded", function () {
    for (let j = 0; j < pages.length; j++) {
        pages[j].pageNum = j + 1;
        pages[j].onclick = function () {
            if (this.pageNum % 2 === 0) {
                this.classList.remove("flipped");
                this.previousElementSibling.classList.remove("flipped");
            } else {
                this.classList.add("flipped");
                this.nextElementSibling.classList.add("flipped");
            }
        }
    }
});

Thanks for visiting