# # # # # # # #
F I G H T C L U B

by Jim Uhls

based on a novel by Chuck Palahnuik

2/16/98


JACK (V.O.)
People were always asking me, did I know Tyler Durden.


FADE IN:

INT. SOCIAL ROOM - TOP FLOOR OF HIGH RISE -- NIGHT

TYLER has one arm around Jack's shoulder; the other hand holds a HANDGUN with the barrel lodged in JACK'S MOUTH. Tyler is sitting in Jack's lap.

They are both sweating and disheveled, both around 30; Tyler is blond, handsome; and Jack, brunette, is appealing in a dry sort of way. Tyler looks at his watch.

TYLER
One minute.
(looking out window)
This is the beginning. We're at ground zero. Maybe you should say a few words, to mark the occasion.
<--! ПЛЕЕР САТАНА-->
<--! ПЛЕЕР САТАНА КОНЕЦ-->

Postmodern

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Postmodern » Гостевая » проба


проба

Сообщений 1 страница 1 из 1

1

[html]
<style>
    .divination-wrapper {
        display: flex;
        flex-direction: column;
        width: 80%;
        gap: 2em;
        font-size: 14px;
    }

    .fortunes {
        width: 20em;
        height: 5em;
        font-size: 1.2em;

    }
</style>

<body>
    <body>
        <div class="divination-wrapper">
            <form id="fortuneForm">
                <button id="fortuneButton" class="fortunes">Узнать ответ</button>
                <textarea id="question" class="question"></textarea>
            </form>
           
        </div>
   
        <script>
              console.log('Welcome');
        const cards = [
            'https://i.imgur.com/hHHMoz2.png',
            'https://i.imgur.com/Lgy4MSM.png',
            'https://i.imgur.com/gxyfTs0.png'
        ];

        const fortuneForm = document.querySelector('#fortuneForm');
        const fortuneButton = document.querySelector('#fortuneButton');
        const questionTextarea = document.querySelector('#question');
        const copyButton = document.querySelector('#copyButton');

        fortuneForm.addEventListener('submit', (e) => {
            e.preventDefault();

            const text = questionTextarea.value || '';
            const random = Math.floor(Math.random() * cards.length);
            console.log(random);
            const answer = '' + text + '' + cards[random];

            questionTextarea.value = answer;
        });

        copyButton.addEventListener('click', () => {
            questionTextarea.select();
            document.execCommand('copy');
            alert('Текст скопирован в буфер обмена!');
        });
        </script>
    </body>
</script>
[/html]

0

Быстрый ответ

Напишите ваше сообщение и нажмите «Отправить»



Вы здесь » Postmodern » Гостевая » проба


Рейтинг форумов | Создать форум бесплатно