logo

Crowdly

main.css .box {   background: yellow;   border-radius: 50% 0 50% 0;   wi...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

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='lemon1', class='box'): p #{sample_text1}

  div(id='lemon2', class='box'): p #{sample_text2}

  script.

    ...

index.js

'use strict';

var express = require('express');

var router = express.Router();

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

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

});

module.exports = router;

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

More questions like this

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

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