Skip to content

Commit

Permalink
autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiam committed Mar 29, 2022
1 parent 2a71a36 commit e38db2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The images in the photo grid and the hero should implement the following optimiz
For the hero, you can hardcode these values. For the photo grid, you'll need to use some JavaScript to update the photo names. You can use the `replace` method:

```js
src.replace('.jpg', '@2x.avif');
src.replace(".jpg", "@2x.avif");
```

One last thing: the images are a little distorted right now. This happens because our images are all the same size, but they don't share the same aspect ratio.
Expand Down

0 comments on commit e38db2d

Please sign in to comment.