User
Write something
Open Office Hours Coding Help is happening in 6 days
Python Test files
I am currently using a website called OpenClassRooms.com and they have exercises that you can do after each lesson. I am having a difficult time using the Python test files that they have created. I have attached a Word file and a text file with more details (commands, code, etc) of the process I have to go through in order to use the Python test files from the OpenClassRooms website. I would very much appreciate any advice, tips, and recommendations. Because it is currently quite a hassle for me just to be able to use their Python test files. 😒
Mobile keyboard pushes chat messages out of view in fixed-position chat widget (iOS Safari & Android Chrome)
I have a self-contained JavaScript chat widget that opens as a full-screen overlay on mobile. When the user taps the input field to type, the keyboard opens and the chat messages scroll out of view the user can to read the conversation while typing. Current setup: - On mobile the chat card is position:fixed; top:0; left:0; right:0; bottom:0; height:100% - The input row is position:fixed; bottom:0; left:0; right:0 - The messages area is flex:1 1 auto; overflow-y:auto; padding-bottom:80px - I am using window.visualViewport resize event to detect keyboard and adjust layout - Font size on input is 16px (so no iOS auto-zoom) The problem: On iOS Safari specifically, when the keyboard opens the messages scroll up and out of view. The user can no longer see what was said. I need the messages to stay visible and scrolled to the bottom above the keyboard, with the input always pinned above the keyboard. What I have tried: 1. visualViewport resize listener setting chatCard.style.height = vvp.height + 'px' and chatCard.style.top = vvp.offsetTop + 'px' 2. Multiple setTimeout delays (100ms, 300ms, 600ms) to scroll messages after keyboard settles 3. position:fixed on input row with env(safe-area-inset-bottom) 4. height:100dvh on the chat card 5. Scrolling messages to bottom on input focus event None of these reliably keep messages visible above the keyboard on iOS Safari. Question: What is the reliable way to keep chat messages visible and scrolled correctly when the mobile keyboard opens, with the input pinned above the keyboard similar to how WhatsApp or iMessage behaves on iOS? Any working code example would be greatly appreciated.
in a bind
Been stuck on step 9 in python, building an employee generator. I don't understand what is meant by concatenate.first_name = 'John' last_name = 'Doe' full_name = first_name + ' ' + last_name address = '123 Main Street' address += ', Apartment 4B' employee_age = 28 employee_info = full_name + " " + first_name + " " + last_name + " " + employee_age
For all Python expert and learner
For all Python expert and learner I have question I am at the PF (Programming Fundamental). I want to know how you learn python and from where you learn the OOP DSA DBMS FRONTEND/BACKEND WEB DEVELOPMENT Can i know where you learn that it will help me a lot if you learn from YouTube let me get the video link . Thanks.
3
0
Git hub
Hi everyone can i get your git hub id. For learning and improve my coding skills.
1-17 of 17
The Code Zone Skool
skool.com/the-code-zone
Beginner-friendly community to learn Python, HTML, CSS, & JavaScript. We help you become a full-stack developer and offer 1:1 code coaching.
Leaderboard (30-day)
Powered by