--col-primary: hsl(25, 76%, 31%);
--col-secondary: hsl(43, 74%, 49%);
--col-bg-primary: hsla(42, 31%, 94%, 0.5);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css); | |
| :root { | |
| --pico-form-element-spacing-vertical: 5px; | |
| --pico-form-element-spacing-horizontal: 15px; | |
| --pico-spacing: 0px; | |
| } | |
| .products-container { | |
| display: grid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": 1, | |
| "title": "Sony WH-1000XM3 Bluetooth Wireless Over Ear Headphones with Mic (Silver)", | |
| "image": "https://storage.googleapis.com/fir-auth-1c3bc.appspot.com/1692947383286-714WUJlhbLS._SL1500_.jpg", | |
| "price": 773, | |
| "description": "Digital noise cancelling : Industry leading Active Noise Cancellation (ANC) lends a personalized, virtually soundproof experience at any situation\r\nHi-Res Audio : A built-in amplifier integrated in HD Noise Cancelling Processor QN1 realises the best-in-class signal-to-noise ratio and low distortion for portable devices.\r\nDriver Unit : Powerful 40-mm drivers with Liquid Crystal Polymer (LCP) diaphragms make the headphones perfect for handling heavy beats and can reproduce a full range of frequencies up to 40 kHz.\r\nVoice assistant : Alexa enabled (In-built) for voice access to music, information and more. Activate with a simple touch. Frequency response: 4 Hz-40,000 Hz", | |
| "brand": "sony", | |
| "model": "WH-1000XM3", | |
| "color": "silver", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const phrase = "everything is awesome" | |
| const name = "emmet" | |
| // 1. კონსოლით გამოაჩინე name-ის სიგრძე | |
| // 2. კონსოლით გამოაჩინე name-ის პირველი და ბოლო ასო | |
| // 3. კონსოლით გამოაჩინე name, ოღონდ ყველა ასო დიდად უნდა ეწეროს e -> E | |
| // 4. კონსოლით გამოაჩინე phrase, ოღონდ სიცარიელე (space) ჩაანაცვლე ტირეებით | |
| const fruits = ["Apple", "Cherry", "Melon"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const books = [ | |
| { | |
| title: "The Hitchhiker's Guide to the Galaxy", | |
| author: 'Douglas Adams', | |
| yearPublished: 1979, | |
| genre: 'Science Fiction', | |
| pages: 224, | |
| isbn: '978-0345391803', | |
| isAvailable: true, | |
| imageUrl: |
- სია - ელემენტების ერთობლიობა (
[1, 2, 3],['ben', 'rachel', 'donny']) - ობიექტი - ერთი "ელემენტი", რომელიც შეიცავს ნებისმიერი მნიშვნელობის რამდენიმე ატრიბუტს (მაგ.:
const car = { color: "red", year: 2019 }) - ციკლი, loop (ამ დავალებებში გამოიყენე
for ofloop) - ინდექსები - სიიდან/ტექსტიდან კონკრეტულ პოზიციაზე მყოფი ელემენტების წაკითხვა
მოცემულია string-ების (ტექსტის) სია (Javascript):
HTML-ში უნდა გქონდეს მხოლოდ input, button (დამატების ღილაკი) და ul (ფილმების სია, თავიდან ცარიელი, ან რამდენიმე საწყისი ფილმით). ღილაკზე უნდა გეწეროს onclick.
- მოძებნე input ელემენტი და შიგნით ჩაწერილი მნიშვნელობა ცვლადში შეინახე
- შექმენი
liელემენტი, შიგნითspanდა ორიbuttontag-ით spanელემენტში ჩაწერე მომხმარებლის შეყვანილი ფილმის სახელიbuttontag-ებში ტექსტად ჩაწერე "წაშლა" და "ნაყურები"
ul-ს დაუწერე list-style-position: inside;
site-main-ს ზედმეტი margin-top აქვს
ფონტი იყოს sans-serif
line-height: 1.4 body-ზე
if (SW) {შექმენით node.js-ის სკრიპტი onlineStatus.js.
მოცემულია ობიექტი:
const servers = {
facebook: [{ username: "turbo-booster", isOnline: false }],
discord: [
{ username: "mailbox_2", isOnline: true },
{ username: "Leanne", isOnline: false }NewerOlder