logo

Crowdly

Веб-програмування та хмарні технології

Looking for Веб-програмування та хмарні технології test answers and solutions? Browse our comprehensive collection of verified answers for Веб-програмування та хмарні технології at exam.nuwm.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

main.css

.box {

  background: yellow;

  border-radius: 50% 0 50% 0;

  width: 400px;

  height: 320px;

  line-height: 320px;

  font-size: 20pt;

  color: orangered;

  text-align: center;

  text-transform: uppercase;

  font-weight: bold;

}

layout.pug

doctype html

html(lang='uk')

  head

    meta(charset='utf-8')

    title= title

    link(rel='stylesheet', href='/stylesheets/main.css')

  body

    block content

index.pug

extends layout

block content

  div(id='lemon', class='box')

    p #{sample_text}

  //script.

    document.getElementById('lemon').textContent='Лимон2';

index.js

'use strict';

var express = require('express');

var router = express.Router();

router.get('/', function (req, res) {

  res.render('index', {sample_text: 'Лимон1'});

});

module.exports = router;

Для наведеного вище коду вкажіть текст, який у Простому веб-застосуванні Node.js Express 4 Visual Studio 2022 буде вписано в середину тега p, який розміщений у тезі div з ідентифікатором "lemon":

0%
0%
0%
0%
View this question

Для створення глобальної змінної системного оточення user.name з ім'ям my_name використовується команда:

View this question

<!DOCTYPE html>

<html lang="uk">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Практика HTML, CSS, Javascript</title>

    <style>

        .box{

            background: yellow;

            border-radius: 50% 0 50% 0;

            width: 400px;

            height: 320px;

            line-height: 320px;

            font-size: 20pt;

            color: orangered;

            text-align: center;

            text-transform: uppercase;

            font-weight: bold;

        }

    </style>

</head>

<body>

    <div id="lemon1">Лимон1</div>

    <div id="lemon2">Лимон2</div>

    <script>

        ...

    </script>

</body>

</html>

Для наведеного вище коду вкажіть рядок, який треба вставити на місці ..., щоб з використанням Javascript додати до другого тега <div> клас "box":

View this question

<!DOCTYPE html>

<html lang="uk">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Практика HTML, CSS</title>

    <style>

        .box {

            background: yellow;

            border-radius: 50% 0 50% 0;

            width: 400px;

            height: 320px;

            line-height: 320px;

            ...

            color: orangered;

            text-align: center;

            text-transform: uppercase;

            font-weight: bold;

        }

    </style>

</head>

<body>

    <div id="lemon" class="box">

        <h2>Лимон &#8211; це класно!</h2>

    </div>

</body>

</html>

Для наведеного вище коду вкажіть рядок, який треба вставити на місці …, щоб задати для тексту, розміщеному у тезі <div>, розмір шрифту 16pt:

0%
0%
0%
0%
0%
View this question

<!DOCTYPE html>

<html lang="uk">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Практика HTML, CSS, Javascript</title>

    <style>

        .box{

            background: yellow;

            border-radius: 50% 0 50% 0;

            width: 400px;

            height: 320px;

            line-height: 320px;

            font-size: 20pt;

            color: orangered;

            text-align: center;

            text-transform: uppercase;

            font-weight: bold;

        }

    </style>

</head>

<body>

    <div id="lemon1" class="box"></div>

    <div id="lemon2" class="box"></div>

    <script>

        ...

    </script>

</body>

</html>

Для наведеного вище коду вкажіть рядок, який треба вставити на місці ..., щоб з використанням Javascript вписати всередину другого тега <div> текст "Лимон":

View this question

<!DOCTYPE html>

<html lang="uk">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Практика HTML, CSS, Javascript</title>

    <style>

        .box{

            background: yellow;

            border-radius: 50% 0 50% 0;

            width: 400px;

            height: 320px;

            line-height: 320px;

            font-size: 20pt;

            color: orangered;

            text-align: center;

            text-transform: uppercase;

            font-weight: bold;

        }

    </style>

</head>

<body>

    <div id="lemon1" class="box"></div>

    <div id="lemon2"></div>

    <script>

        ...

    </script>

</body>

</html>

Для наведеного вище коду вкажіть рядок, який треба вставити на місці ..., щоб з використанням Javascript вписати в середину тега <div> з класом "box" текст "Лимон":

View this question

Want instant access to all verified answers on exam.nuwm.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!