HTML builder


Objectives:

The main goal of this series of tasks is to understand the basics of working with the Node.js platform. You are offered to complete a series of small tasks with a gradual increase in complexity. The final touch will be the creation of a small application for building a static website.

Please note that most tasks can be accomplished in multiple ways, and at this stage, there are no incorrect approaches. Only the functionality of your code and adherence to the specified conditions will be evaluated.


Execution process

  • Click on the green button Use this template
  • In the dropdown, choose the option Create a new repository
  • Enter the repository name (preferably name it HTML-builder)
  • Leave its visibility as public
  • Click the Create repository button
  • Send the link to the created repository to Cross-Check: Submit in RS App
  • Clone the created repository
  • Run the command npm install to install eslint, prettier and node.js typings that will assist you in completing the tasks
  • Complete the tasks. The specifications for each task are in the README.md file inside the task folder
  • Push the solution to your repository

Crosscheck

The process for cross-checking is detailed in the repository's wiki.
Once the cross-check begins, access the guidelines by following this link and adhere to the instructions provided on the page.

General Rules

  • The use of any third-party modules is strictly prohibited.
  • Each task must be executed in the root directory using the command node <task folder name>.
  • Utilizing synchronous functions from the fs module, such as fs.statSync(path[, options]), fs.readFileSync(path[, options]), and others found in the Synchronous API section, is not allowed.
  • The use of the setTimeout() function is forbidden.
  • Task execution and verification should be carried out on the LTS version of Node.

Table of Contents

01 Reading a File with Console Output
02 Writing Console Input to File
03 Displaying Information about Files Stored in a Folder
04 Copying a Directory
05 Building the CSS Bundle
06 Building an HTML Page from Components and Styles