The Good Manager  >  Training modules

100 points to know about...
Eco-Design Web Development

100
points to know about...
Back to module summary

Notion 92

Code practices review

Target skills

Test your knowledge on code good practices.

Review the notion and test your knowledge regarding code good practices.

What kind of benefits does Gatsby offer?

Good job!

Wrong answer

Gatsby is a static site generator with embedded functions for image optimization

True or False? User tracking has an ecological impact.

Good job!

Wrong answer

User tracking consumes resources for data collection and analysis.

What is NOT part of clean code principles?

Good job!

Wrong answer

Clean code is aimed at developers (easy to read and maintain, and avoiding complex functions), and with optimization in mind. It is not meant to be Exhaustive by default.

Which element is NOT available as an external library?

Good job!

Wrong answer

JavaScript is supported by default by web browser, it is not part of an external library. Some JavaScript libraries, such as jQuery, can add additional features to default JavaScript.

How a CDN can help lower carbon emission?

Good job!

Wrong answer

A CDN is a network of servers to deliver web content. It acts as an intermediate before your own server, so requests are sent to this CDN instead of to your main server. It helps mitigate DDos attacks and its localisation can be closer to your visitor than your actual server, which reduces the network load. It has cache and gzip options (see above), and can provide other features such as minification (another file compression than gzip).