Welcome to the Linux Foundation Forum!

04. SERVING WEB CONTENT (Simple Observations)

Options

Title: Serving Static Content and Using Templates with Express (Cont.), page 8

Link: https://trainingportal.linuxfoundation.org/learn/course/nodejs-services-development-lfw212/serving-web-content/serving-web-content?page=8

Note 1:
The layout needs to be fixed at the close tag head.
</head

Note 2:
The name of the file is in plural and needs a ‘s’ in the syntaxis.
node -e "fs.renameSync('user.js', 'hello.js')"
node -e "fs.renameSync('users.js', 'hello.js')"

Title: Streaming Content with Express (Cont.), page 13

Link: https://trainingportal.linuxfoundation.org/learn/course/nodejs-services-development-lfw212/serving-web-content/serving-web-content?page=13

Note: Remember to install the hn-latest-stream package before run “npm start”

Comments

  • davidmarkclements
    Options

    Thanks for pointing these out @canelcho

    note 1:
    @magdastepien would you mind checking there's no text in this chapter that says just </head when it should say ? There isn't in the google docs so it might be an issue on the learning platform.

    note 2:
    Thanks for pointing this typo out, it's been fixed here and elsewhere in the chapter

    note 3:
    instruction has been added to text

    thanks again @canelacho!

  • mstepien
    mstepien Posts: 422
    Options

    Thank you @canelacho and @davidmarkclements. The close tag has been added.

    Best,
    Magda
    The Linux Foundation Training Team

Categories

Upcoming Training