Last updated

Project 3: Sell more pets

ScheduleFlex Meld
Time allowed2 hours

Update Realm

Update to the latest version of the RC of Realm.

At the time I write this, it's 0.82.2-rc.3.

Cheat: How to do this

Edit the package.json and replace the version of Realm with 0.82.2-rc.1 (or any other latest version).

package.json
 "dependencies": {
    "@redocly/realm": "0.82.2-rc.3"
  }

We'll always update because we want to test the latest release candidate (until it becomes the minor version).

Color mode

The boss said the you should double-check that the logo and headings look good in both light and dark color modes.

Two logos can be defined using srcSet.

Cheat: Link to the docs (better if you try to find it)

Sell more pets

The boss said by renaming "Petstore" to "Petsstore" (and "Pet Store" to "Pets Store") people will want to leave the store with multiple "pets" instead of a single "pet". (The boss is a genius. And is right one out of seventeen times.)

subliminal.webp

  1. The boss wants the URL structures changed. Such as instead of someone accessing /petstore/ at petsstore.
  2. The boss wants the content changed (review the highlights from an example screenshot). all-pet-to-pets.png
  3. Notice the broken link reporter and fix any broken links.
  4. Create redirects so that the old URLs continue to work too.
Cheat: Link to the docs (better if you try to find it)

Debrief

Debrief on your experience. What made you smile? What did you find confusing?