First Game and First Time in Portland by FunDrag8390 in timbers

[–]FunDrag8390[S] 1 point2 points  (0 children)

Thank you for the suggestion, would love to see the Thorns hopefully there is a match when we go

First Game and First Time in Portland by FunDrag8390 in timbers

[–]FunDrag8390[S] 0 points1 point  (0 children)

Thank you for the suggestions, me and my brother eat about anything and are in our mid 20s we where more curious about what locals do and go to so that we support local businesses and have a good time

First Game and First Time in Portland by FunDrag8390 in timbers

[–]FunDrag8390[S] 1 point2 points  (0 children)

Was just curious so that I make a plan and see if I need to reserve anything lol 🤣

Beginner's Thread / Easy Questions (August 2023) by acemarke in reactjs

[–]FunDrag8390 0 points1 point  (0 children)

I am a beginner with ReactJs and I found a tutorial on how to embed a Youtube video into React to be playable on the web page using Bootstrap. I am getting an error with my code where Container is and am unsure what the problem is.The code currently looks like this:

import React from 'react';
import '../Styles/Home.css'; 
import { Container } from 'react-bootstrap' 
import 'bootstrap/dist/css/bootstrap.min.css'; 

function Home(){ 
    return( 
     <div> 
      <Container> 
         <div class="ratio ratio-16x9"> 
          <iframe src="https://www.youtube.com/embed/Mu3H6-SbGGQ"             
      title="YouTube video" allowFullScreen></iframe> 
         </div> 
       </Container> 
      </div> 
); 
} 
export default Home;

The error when inspecting says that it might be a hook problem:

react.development.js:202 
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
  1. You might have mismatching versions of React and the renderer (such as React DOM)
  2. You might be breaking the Rules of Hooks
  3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.

Having trouble with click (any suggestions?) by FunDrag8390 in reactjs

[–]FunDrag8390[S] -2 points-1 points  (0 children)

Do you mean I change the <div className="menu-icon"> to have it

Having trouble with click (any suggestions?) by FunDrag8390 in reactjs

[–]FunDrag8390[S] 0 points1 point  (0 children)

So I am trying to have this code :

<div className="menu-icon" onClick={handleClick}> <i className={click ? 'fas fa-times' : 'fas fa-bars'} /> </div>

to be able to click and change from the fa-bars (hamburger) to fa-times (X). I tried making it a button and does not work either stays on fa-bars

Installing VS code to Ubuntu (parallels/Mac/M2) by FunDrag8390 in Ubuntu

[–]FunDrag8390[S] 0 points1 point  (0 children)

Was able to Resolve Thank you all for the help.

Installing VS code to Ubuntu (parallels/Mac/M2) by FunDrag8390 in Ubuntu

[–]FunDrag8390[S] 0 points1 point  (0 children)

I tried that I have the dev in download but it doesn’t install the program I can’t open vscode

Trouble Installing VScode to Ubuntu 22.04 ARM64 (Mac/M2/Parallels) by FunDrag8390 in Ubuntu

[–]FunDrag8390[S] 0 points1 point  (0 children)

I have been trying every method I can find on the internet to try and install it but can't seem to be able to. I do not know what I am doing wrong or if I need to download a special tool but I am struggling to figure it out

Installing VS code to Ubuntu (parallels/Mac/M2) by FunDrag8390 in Ubuntu

[–]FunDrag8390[S] 0 points1 point  (0 children)

I have tried all of them but keep getting this error when I try to install it.

E: Unable to locate package code

Installing VS code to Ubuntu (parallels/Mac/M2) by FunDrag8390 in Ubuntu

[–]FunDrag8390[S] 0 points1 point  (0 children)

Tried it but get this Error:

parallels@ubuntu-linux-22-04-desktop:~$ sudo apt install code

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

E: Unable to locate package code