question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Picasso Painting preview does not look like what the final project ends up looking like if screen width is greater than the preview width

See original GitHub issue

Describe the Issue

See this comment on the forum regarding the final version compared to the preview that is shown at the beginning of the project.

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-89

Your code


Expected behavior

I expect the final version of the painting to look the same regardless of the width of the preview pane. I think this project needs to be refactored so that the painting looks the same regardless of the user’s screen size. The elements should not shift around or if they do shift around, they should do so proportionately. You really notice the differences when you look at the eyes of the characters. They are hidden in the preview but show up in the final version. Maybe a fixed width for the project should be used.

Screenshots

Preview of project: ea5fa87f3302102190ae2dbe4a200dc0101dac11

Actual final project in preview pane on my screen: image

System

  • Device: [e.g. iPhone 6, Laptop]
  • OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
  • Browser: [e.g. Chrome, Safari]
  • Version: [e.g. 22]

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ojeytonwilliamscommented, Oct 26, 2022

It sounds like quite an extensive rework would be required. Given that it’s still recognisably art, regardless of screen size, I think it’s fine as is.

1reaction
lasjorgcommented, Aug 1, 2022

Sure, it can be made fixed width and just have it overflow as well. Without having looked much at the code I would imagine that would still be quite a few code changes and I’d assume as a result test changes.

Edit: I’m not saying I disagree, or that improving it wouldn’t be worth it. I’m just saying it might take a bit of work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

freeCodeCamp: PICASSO PAINTING | PROJECT SOLUTION
Free Discord Group: https://www.dorscodingschool.com/discord▻ Get the solution to these problems and an eBook on 'How to Become a ...
Read more >
size() / Reference / Processing.org
Defines the dimension of the display window width and height in units of pixels. In a program that has the setup() function, the...
Read more >
Guernica by Pablo Picasso (article)
Guernica is not a painting you observe with spatial detachment; it feels like it wraps around you, immerses you in its larger-than-life figures...
Read more >
Resizing images to fit the screen using GeometryReader
When we create an Image view in SwiftUI, it will automatically size itself according to the dimensions of its contents. So, if the...
Read more >
'Weeping Woman', Pablo Picasso, 1937
Not on display ; Medium: Oil paint on canvas ; Dimensions: Support: 608 × 500 mm frame: 847 × 739 × 86 mm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found