Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
I'm trying to understand the code here
View: https://www.youtube.com/watch?v=NLKQEOgBAnw&t=443s
I don't understand this notation:
(x&(1<<i)) != 0
I understand we want to AND the bit at i position with 1, and see if it's equal to 1. So i assume that's what the formula is doing. Is this C...
How to receive input on the same line, without clearing the rest of the terminal?
The following prints a new "Enter" line for every bad entry.
while not entry in menu:
entry = input('Enter: ')
(also asked on thecodingforums, freecodecamp, python-forum.io)
Trying to click a hidden radio button, but it's making the image go all wonky. How to fix? Everything seems normal until you click. Then the image remains wonky even after you move the mouse pointer away.
The img-clip div constrains the size of the image.
The radio-button click area is meant to...
Trying to get all delimited items in a string.
Here's the code:
const myString = "abc{{HELLO}}defg{{WORLD}}"
const templateFieldsRegex = /\{\{\w+\}\}/g
const templateFields = myString.matchAll (templateFieldsRegex)
I expect to get array ["{{HELLO}}", "{{WORLD}}"]
Not getting any results.
also...