css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <body onload="myFun()" id="animate">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

<div class="row">
  <div class="container">
        <div class="jumbotron" id="kutu">
            <div class="sozler">
              <p id="soz">Tut-i mucize-i guyem, e ne desem laf degil</p>

               <footer id="kim">– Grup Vitamin</footer>
                <a href="https://www.facebook.com" id="social"><i class="fa fa-facebook-square"></i></a>
                <a id="social" target="_blank"><i class="fa fa-twitter-square"></i></a>
              <span class="submit">
                <button type="button" id="buton" class="btn" onclick="myFun()">Yenile</button></span>
  <p style="text-align: center;color:white;">by tanyildiz</p>

              body {
  font-family: 'Ubuntu', sans-serif;
.container {
  display: fixed;
  margin-top: 100px;
  width: 500px;

.jumbotron {
  background-color: white;

.sozler p {
  text-align: center;
  font-size: 30px;

footer {
  text-align: right;
  margin-bottom: 40px;
  line-height: 60px;
.submit {
  float: right;

.btn {
 color: white;

.btn:hover {
  color: rgb(255,255,255);
  background-color: rgb(0,0,0); opacity:0.8;

a:hover {
  color: rgb(150,150,150);

a {
  letter-spacing: 5px;
  line-height: bottom;
              var myFun = function() {
  var sozler = {
    0: {soz:"Tut-i mucize-i guyem, e ne desem laf degil",
        kim:"– Grup Vitamin"
     1: {soz:"Ne demek araba yok?",
        kim:"– Metin Akpinar"
     2: {soz:"Agzimizin tadi kacmasin Ali Riza Bey",
        kim:"– Yaprak Dokumu"
     3: {soz:"Enerji, Frekans, Titresim",
        kim:"– Tesla"
     4: {soz:"Senin bu kadar mutlu olmana, ancak senden bir sey almaya hazirlandiklari zaman izin verirler.",
        kim:"– Ucurtma Avcisi"
     5: {soz:"Ak akçe kara gün içindir",
        kim:"– Anonim"
     6: {soz:"Ölmekten korkmuyorum, yeterince yasamamis olmaktan korkuyorum.",
        kim:"– Mr. Nobody"
     7: {soz:"Bir baba hindi, heeey Allah!",
        kim:"– Taraftar"
     8: {soz:"Kuzu kurdun, yol Ford\'un",
        kim:"– Henry Ford"
     9: {soz:"Körler ülkesinde tek gözü olan adam kral olur.",
        kim:"– Minority Report"
     10: {soz:"Kimseye icini dökme, gün gelir döktüklerini toplamak zorunda kalirsin",
        kim:"– Anonim"
  var arr = ["gray","green","blue","black","orange","red","brown","magenta","navy","rose","darkred"];
  var x = Math.round(Math.random()*11);
  document.getElementById("soz").innerHTML = "<span><i class=\"fa fa-quote-left\" aria-hidden=\"true\"></i> </span>" + sozler[x].soz;
  document.getElementById("kim").innerHTML = sozler[x].kim;
  document.getElementById("buton").style.backgroundColor = arr[x];
  document.getElementById("kutu").style.color = arr[x];
  document.body.style.backgroundColor = arr[x];
  document.getElementById("social").style.color = arr[x];
  return arr[x];
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................