Codecademy Forums » React
1 FOLLOWERS
Topics in the 'React.js' category React.js is an efficient and flexible JavaScript library for building user interfaces. This forum category covers broader discussion about React.js related topics.
Codecademy Forums » React
8M ago
I’m unable to get the test for step 8 working, I keep getting this error message:
SyntaxError:…
CopyCatContainer.test.js: Unexpected reserved word ‘await’. (14:20)
2 posts - 2 participants
Read full topic ..read more
Codecademy Forums » React
8M ago
I’m working on the “Video Player” lesson, and nothing is happening when I click on any of the radio buttons.
2 posts - 2 participants
Read full topic ..read more
Codecademy Forums » React
8M ago
Hello y’all. I’m building a ‘dummy’ website to train and consolidate my reactJS skills. My goal is to display a background-Image. On the first Image, i’m setting it inline and on the second one, i’m using conventional css but neither of them can display my image. So enlighten me. what am i doing wrong ? how can i fix it ?
5 posts - 3 participants
Read full topic ..read more
Codecademy Forums » React
8M ago
In the index.js file of the react js course, when it comes to import the component, it’s written:
import App from “./Container/AppFunction”;
However, the component name is AppFunction in the AppFunction.js file:
…
export default function AppFunction() {
…
}
I’m surprised that the code is still working. When I changed the ‘App’ to ‘AppFunction’, the code also works perfectly. What’s going on?!
2 posts - 2 participants
Read full topic ..read more
Codecademy Forums » React
8M ago
Hi everyone,
hope everybody is doing well.
I’m currently following the redux class in the full-stack-developper path.
I’m stuck at the “Codecademy store” project (link : Link to the exercise )
But… believe me or not… I’m stuck at the first step (yeah I know…) and I can’t find the video walkthrough ! (Yeah I clicked on get unstuck at the top-right of my screen). So if somebody can link me this video this would be great ( and/or if somebody of Codecademy can resolve this problem too…).
Of course… after I’ll go back to my lessons because being stuck at first step is clearly the sign I did not ful ..read more
Codecademy Forums » React
8M ago
Hi, this query has come about after completing the Jammming project https://www.codecademy.com/journeys/front-end-engineer/paths/fecj-22-front-end-development/tracks/fecj-22-react-part-ii/modules/wdcp-22-jammming-b26fb9a6-a249-4dda-91a0-ebaa5c8de0ce/kanban_projects/jammming-react18
I have completed the project and want to upload my code to GitHub in a public repository so it can form part of my portfolio. However, the code includes my unique client ID for the Spotify API, which shouldn’t be shared.
If I upload the code as is then edit out the client ID, it will still be possible for people to ..read more
Codecademy Forums » React
8M ago
Hi There. I am recently learning React JSX and I am currently advancing Animal Fun Facts project. The issue with this project is that I can’t advance since I can’t get any further than step 8 because the background image from the path src=‘/images/ocean.jpg’ doesn’t appear. Did I do something wrong?
HERES MY CODE
import { animals } from './animals';
import React from 'react';
import {createRoot} from 'react-dom/client'
const title = '';
const background = <img className='background' alt="ocean" src='/images/ocean.jpg'/>;
const images = [];
const animalFacts = (
<div> ..read more
Codecademy Forums » React
8M ago
I am working on the Jammming project for the Full Stack developer path.
I spent the past few days reading the documentation and researching about the authentication flow for this project. As a matter of fact, in the Spotify documentation, it is recommended to use the Authorization code with PKCE flow “for a single page web app, or any other type of application where the client secret can’t be safely stored”.
My first question is: does Jammming belong to this category of projects?
I decided to go with the Authorization Code with PKCE flow but, after implementing all the methods outlined by the ..read more
Codecademy Forums » React
8M ago
I’m currently in the CodeyOverflow Forum project. I completed all steps, but the images are not rendering.
I double checked with the project walkthrough video, and thought my code looked identical. I also went through a couple of the forum posts with similar issues, but still can’t find the issue with my code.
App.js
import React from 'react';
import {comments} from './commentData';
import Card from './Card';
function App() {
return {
comments.map( comment => <Card commentObject={comment} />)
};
};
export default App;
Card.js
import React from 'react';
import Header from ..read more
Codecademy Forums » React
8M ago
Here is my solution to the problem but I cant seem to find the error thats not rendering the images
App.js
import React from 'react'
import {comments} from './commentData'
import Card from './Card'
function App (props) {
return (
comments.map(comment =>
<Card commentObject={comment}/>
)
)
}
export default App
Card.js
import React from 'react'
import Header from './Header'
import Body from './Body'
function Card() {
return (
<>
<Header profileImg={props.commentObeject.profileImg} username={props.commentObject.username}/>
< ..read more