Skip to content

Instantly share code, notes, and snippets.

View elzodxon's full-sized avatar
😃
Learn

Elzodxon Sharofaddinov elzodxon

😃
Learn
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Multiple Modals Toggle Example</title>
<style>
.modal {
display: none;
position: fixed;
<template>
<section class="regional-branches">
<div class="logo-bg">
<svg width="249" height="567" viewBox="0 0 249 567" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M249 371.208C249 473.091 160.85 567 36.4562 567C-27.5306 567 -82.5683 541.751 -120.155 503.655C-138.501 485.494 -152.82 463.345 -162.216 440.311C-183.694 388.041 -181.457 326.911 -145.66 271.983L-15.8967 71.7609L-0.682999 48.2836C1.55431 44.7398 7.37129 44.7398 9.6086 48.2836L24.8223 71.7609L37.7986 91.6945L114.762 211.296L159.06 279.513L171.589 299.004C174.274 302.991 176.511 307.42 178.749 311.407C189.04 331.341 193.962 352.16 193.962 372.537C193.962 442.083 138.477 505.87 58.3818 515.173C55.697 515.616 53.4597 515.616 50.775 515.616C48.5377 515.616 46.3004 516.059 43.6156 516.059C41.3783 516.059 39.141 516.059 37.3512 516.059C35.1138 516.059 30.1918 516.059 29.7443 516.059V485.937V485.494L103.575 368.107H20.3477V440.311C20.3477 468.218 5.13399 492.581 -21.7137 506.313C-32.9002 502.327 -43.1917 497.011
<template>
<div class="PortfolioItems pb-5">
<div class="container overflow-auto">
<div id="profilesITem" class="row pt-5 align-items-center"
v-for="(profile, index) in profiles.slice(8*(currentPage-1),8*(currentPage))" :key="index"
:per-page="perPage"
:current-page="currentPage"
>
<div style="background: #353535; height: 2px; width: 100%; margin-bottom: 30px; ">
</div>
<template>
<div class="teachers">
<img class="teacher-back" src="@/static/img/teacher-back.jpg" alt="">
<div class="container">
<div class="title d-flex align-items-center justify-content-between" >
<h3 class="mb-0">{{ $t('teachers.text') }}</h3>
<div class="arrows d-flex align-items-center justify-content-between mr-3">
<div class="slide-count-wrap">
<span class="current">{{currentTeacher}}</span> /
<span class="total">{{teachers.length}}</span>
@elzodxon
elzodxon / TZ
Created December 23, 2020 19:50
Sayt maqsadi: Hamma o'zi uchun kerak deb hisoblagan saytlarni bo'limlar orqali oson topishi, qidirishi va qo'shishi mumkin bo'lgan ochiq sayt.
Sayt:
Menu: Turli xil yo'nalishda menular bo'ladi. Masalan, dasturlash, dizayn, oshpazlik, sartaroshlik, tabiat vahokazo...
Funksiyalari:
1. User sayt qo'sha olishi kerak.(Moderatorga yuboriladi, tasdiqlansa qo'shiladi)
2. Sayt qo'shish(Admin paneldan)
3. Saytdagi ma'lumotlarni update qilish
const followingDay =today => {
today = (prompt("Enter day:")).toLowerCase()
let nextDay;
switch(today){
case 'monday':
nextDay = 'Tuesday';
break;
case 'tuesday':
const leapYear = year => year % 100 === 0 ? year % 400 === 0 : year % 4 === 0;
console.log(leapYear(2016));
console.log(leapYear(2000));
console.log(leapYear(1700));
console.log(leapYear(1800));
console.log(leapYear(100));