fork download
  1. <body>
  2. <!--- Menü --->
  3. <meta name="viewport" charset="utf-8" content="width=device-width, initial-scale=1">
  4. <style>
  5. body {
  6. font-family: 'Lato', sans-serif;
  7. }
  8. .overlay {
  9. height: 0%;
  10. width: 100%;
  11. position: fixed;
  12. z-index: 1;
  13. top: 0;
  14. left: 0;
  15. background-color: rgb(0,0,0);
  16. background-color: rgba(0,0,0, 0.9);
  17. overflow-y: hidden;
  18. transition: 0.5s;
  19. }
  20.  
  21. .overlay-content {
  22. position: relative;
  23. top: 25%;
  24. width: 100%;
  25. text-align: center;
  26. margin-top: 30px;
  27. }
  28.  
  29. .overlay a {
  30. padding: 8px;
  31. text-decoration: none;
  32. font-size: 36px;
  33. color: #818181;
  34. display: block;
  35. transition: 0.3s;
  36. }
  37.  
  38. .overlay a:hover, .overlay a:focus {
  39. color: #f1f1f1;
  40. }
  41.  
  42. .overlay .closebtn {
  43. position: absolute;
  44. top: 20px;
  45. right: 45px;
  46. font-size: 60px;
  47. }
  48.  
  49. @media screen and (max-height: 450px) {
  50. .overlay {overflow-y: auto;}
  51. .overlay a {font-size: 20px}
  52. .overlay .closebtn {
  53. font-size: 40px;
  54. top: 15px;
  55. right: 35px;
  56. }
  57. }
  58. </style>
  59. <div id="myNav" class="overlay">
  60. <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
  61. <div class="overlay-content">
  62. <a href="/hakkinda.php">Hakkında</a>
  63. <a href="/blog.php">Blog</a>
  64. <a href="/galeri.php">Galeri</a>
  65. <a href="/iletisim.php">İletişim</a>
  66. </div>
  67. </div>
  68. <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Menü</span>
  69.  
  70. <script>
  71. function openNav() {
  72. document.getElementById("myNav").style.height = "100%";
  73. }
  74.  
  75. function closeNav() {
  76. document.getElementById("myNav").style.height = "0%";
  77. }
  78. </script>
  79. <style>
  80. body {
  81. background-image: url("URL");
  82. background-color: white;
  83. background-repeat: no-repeat;
  84. }
  85. </style>
  86. <!--- Galeri --->
  87. <div class="gallery">
  88. <a target="_blank" href="resim-konumu.uzantisi">
  89. <img src="resim-konumu.uzantisi" alt="Resim Açıklaması" width="600" height="400">
  90. </a>
  91. <div class="desc">Resim Açıklaması</div>
  92. </div>
  93. <style>
  94. div.gallery {
  95. margin: 5px;
  96. border: 1px solid #ccc;
  97. float: left;
  98. width: 180px;
  99. }
  100.  
  101. div.gallery:hover {
  102. border: 1px solid #777;
  103. }
  104.  
  105. div.gallery img {
  106. width: 100%;
  107. height: auto;
  108. }
  109.  
  110. div.desc {
  111. padding: 15px;
  112. text-align: center;
  113. }
  114. </style>
  115. </body>
  116.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
  <body>
  ^
Main.java:6: error: unclosed character literal
  font-family: 'Lato', sans-serif;
               ^
Main.java:6: error: unclosed character literal
  font-family: 'Lato', sans-serif;
                    ^
Main.java:7: error: class, interface, or enum expected
}
^
Main.java:10: error: class, interface, or enum expected
  width: 100%;
  ^
Main.java:11: error: class, interface, or enum expected
  position: fixed;
  ^
Main.java:12: error: class, interface, or enum expected
  z-index: 1;
  ^
Main.java:13: error: class, interface, or enum expected
  top: 0;
  ^
Main.java:14: error: class, interface, or enum expected
  left: 0;
  ^
Main.java:15: error: class, interface, or enum expected
  background-color: rgb(0,0,0);
  ^
Main.java:16: error: class, interface, or enum expected
  background-color: rgba(0,0,0, 0.9);
  ^
Main.java:17: error: class, interface, or enum expected
  overflow-y: hidden;
  ^
Main.java:18: error: class, interface, or enum expected
  transition: 0.5s;
  ^
Main.java:19: error: class, interface, or enum expected
}
^
Main.java:23: error: class, interface, or enum expected
  top: 25%;
  ^
Main.java:24: error: class, interface, or enum expected
  width: 100%;
  ^
Main.java:25: error: class, interface, or enum expected
  text-align: center;
  ^
Main.java:26: error: class, interface, or enum expected
  margin-top: 30px;
  ^
Main.java:27: error: class, interface, or enum expected
}
^
Main.java:31: error: class, interface, or enum expected
  text-decoration: none;
  ^
Main.java:32: error: class, interface, or enum expected
  font-size: 36px;
  ^
Main.java:33: error: class, interface, or enum expected
  color: #818181;
  ^
Main.java:33: error: illegal character: '#'
  color: #818181;
         ^
Main.java:34: error: class, interface, or enum expected
  display: block;
  ^
Main.java:35: error: class, interface, or enum expected
  transition: 0.3s;
  ^
Main.java:36: error: class, interface, or enum expected
}
^
Main.java:39: error: illegal character: '#'
  color: #f1f1f1;
         ^
Main.java:40: error: class, interface, or enum expected
}
^
Main.java:44: error: class, interface, or enum expected
  top: 20px;
  ^
Main.java:45: error: class, interface, or enum expected
  right: 45px;
  ^
Main.java:46: error: class, interface, or enum expected
  font-size: 60px;
  ^
Main.java:47: error: class, interface, or enum expected
}
^
Main.java:49: error: class, interface, or enum expected
@media screen and (max-height: 450px) {
       ^
Main.java:50: error: class, interface, or enum expected
  .overlay {overflow-y: auto;}
                             ^
Main.java:54: error: class, interface, or enum expected
  top: 15px;
  ^
Main.java:55: error: class, interface, or enum expected
  right: 35px;
  ^
Main.java:56: error: class, interface, or enum expected
  }
  ^
Main.java:59: error: <identifier> expected
<div id="myNav" class="overlay">
                     ^
Main.java:60: error: > expected
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
    ^
Main.java:60: error: <identifier> expected
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
         ^
Main.java:60: error: <identifier> expected
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
                                    ^
Main.java:60: error: <identifier> expected
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
                                                                             ^
Main.java:60: error: <identifier> expected
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
                                                                               ^
Main.java:61: error: > expected
  <div class="overlay-content">
      ^
Main.java:61: error: illegal start of type
  <div class="overlay-content">
       ^
Main.java:61: error: <identifier> expected
  <div class="overlay-content">
            ^
Main.java:62: error: > expected
    <a href="/hakkinda.php">Hakk?nda</a>
      ^
Main.java:62: error: <identifier> expected
    <a href="/hakkinda.php">Hakk?nda</a>
           ^
Main.java:62: error: illegal start of type
    <a href="/hakkinda.php">Hakk?nda</a>
                                     ^
Main.java:62: error: <identifier> expected
    <a href="/hakkinda.php">Hakk?nda</a>
                                       ^
Main.java:63: error: > expected
    <a href="/blog.php">Blog</a>
      ^
Main.java:63: error: <identifier> expected
    <a href="/blog.php">Blog</a>
           ^
Main.java:63: error: illegal start of type
    <a href="/blog.php">Blog</a>
                             ^
Main.java:63: error: <identifier> expected
    <a href="/blog.php">Blog</a>
                               ^
Main.java:64: error: > expected
    <a href="/galeri.php">Galeri</a>
      ^
Main.java:64: error: <identifier> expected
    <a href="/galeri.php">Galeri</a>
           ^
Main.java:64: error: illegal start of type
    <a href="/galeri.php">Galeri</a>
                                 ^
Main.java:64: error: <identifier> expected
    <a href="/galeri.php">Galeri</a>
                                   ^
Main.java:65: error: > expected
    <a href="/iletisim.php">?leti?im</a>
      ^
Main.java:65: error: <identifier> expected
    <a href="/iletisim.php">?leti?im</a>
           ^
Main.java:65: error: illegal start of type
    <a href="/iletisim.php">?leti?im</a>
                                     ^
Main.java:65: error: <identifier> expected
    <a href="/iletisim.php">?leti?im</a>
                                       ^
Main.java:66: error: <identifier> expected
  </div>
   ^
Main.java:66: error: <identifier> expected
  </div>
       ^
Main.java:67: error: <identifier> expected
</div>
 ^
Main.java:67: error: <identifier> expected
</div>
     ^
Main.java:68: error: > expected
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
     ^
Main.java:68: error: <identifier> expected
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
           ^
Main.java:68: error: <identifier> expected
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
                                                   ^
Main.java:68: error: illegal start of expression
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
                                                                ^
Main.java:68: error: illegal character: '#'
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
                                                                 ^
Main.java:68: error: illegal start of type
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
                                                                             ^
Main.java:68: error: <identifier> expected
<span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; Men?</span>
                                                                                  ^
Main.java:78: error: <identifier> expected
</script>
 ^
Main.java:78: error: <identifier> expected
</script>
        ^
Main.java:80: error: <identifier> expected
  	  body {
  	      ^
Main.java:80: error: '(' expected
  	  body {
  	       ^
Main.java:81: error: not a statement
  background-image: url("URL");
            ^
Main.java:81: error: ';' expected
  background-image: url("URL");
                  ^
Main.java:82: error: not a statement
  background-color: white;
            ^
Main.java:82: error: ';' expected
  background-color: white;
                  ^
Main.java:82: error: not a statement
  background-color: white;
                    ^
Main.java:83: error: not a statement
  background-repeat: no-repeat;
            ^
Main.java:83: error: ';' expected
  background-repeat: no-repeat;
                   ^
Main.java:83: error: not a statement
  background-repeat: no-repeat;
                       ^
Main.java:85: error: <identifier> expected
</style>
 ^
Main.java:85: error: <identifier> expected
</style>
       ^
Main.java:86: error: <identifier> expected
<!--- Galeri --->
 ^
Main.java:86: error: <identifier> expected
<!--- Galeri --->
            ^
Main.java:87: error: > expected
<div class="gallery">
    ^
Main.java:87: error: illegal start of type
<div class="gallery">
     ^
Main.java:87: error: <identifier> expected
<div class="gallery">
          ^
Main.java:88: error: > expected
  <a target="_blank" href="resim-konumu.uzantisi">
    ^
Main.java:88: error: <identifier> expected
  <a target="_blank" href="resim-konumu.uzantisi">
           ^
Main.java:88: error: <identifier> expected
  <a target="_blank" href="resim-konumu.uzantisi">
                         ^
Main.java:89: error: > expected
    <img src="resim-konumu.uzantisi" alt="Resim A??klamas?" width="600" height="400">
         ^
Main.java:89: error: <identifier> expected
    <img src="resim-konumu.uzantisi" alt="Resim A??klamas?" width="600" height="400">
            ^
Main.java:89: error: ';' expected
    <img src="resim-konumu.uzantisi" alt="Resim A??klamas?" width="600" height="400">
                                    ^
Main.java:89: error: <identifier> expected
    <img src="resim-konumu.uzantisi" alt="Resim A??klamas?" width="600" height="400">
                                        ^
Main.java:89: error: ';' expected
    <img src="resim-konumu.uzantisi" alt="Resim A??klamas?" width="600" height="400">
                                                           ^
100 errors
stdout
Standard output is empty