React Web site Tutorial – Newbie React JS Undertaking Absolutely Responsive



Discover ways to construct a React web site from scratch on this tutorial. We are going to use React Hooks and React Router for this newbie React JS Undertaking. The web site is totally responsive as properly. Be at liberty to refactor the code and ship me your variations!

Timeline
0:00 What we’re constructing
2:58 Creating React app in terminal
7:50 Getting the supply information
24:10 Creating the Button Element
45:00 Creating the Hero Element
52:04 Creating our Pages
59:30 Creating the Card Parts
1:16:10 Creating the Footer Element
1:40:36 Substitute Video Background with Picture

If you wish to comply with me alongside my coding journey, you should definitely subscribe 🙂
https://www.youtube.com/channel/UCsKsymTY_4BYR-wytLjex7A?sub_confirmation=1

Right here is the supply code
https://github.com/briancodex/react-website-v1/tree/starter

Codeacademy Professional Evaluate


source

30 thoughts on “React Web site Tutorial – Newbie React JS Undertaking Absolutely Responsive”

  1. I got stuck at 'npm install react-router-dom' due to high vulnerability error "Inefficient Regular Expression Complexity in nth-check package:nth-check patched in: >=2.0.1 dependency of: react-scripts [dev]"

    I tried moving 'react-scripts' from 'dependencies' to 'devDependencies' in package.json then running npm audit –production but still getting the error.

    Reply
  2. I'm 20 minutes in this video as of 11/8/2023 and some things have changed. I will post more along this thread as I go through the video. Please upvote this comment to help those looking to learn by using this video!

    Must change App.js import to: import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';

    The app.js file should instead look like the following, Switch is no longer part of React-Router:

    <>

    <Router>

    <Navbar />

    <Routes>

    <Route path="/" exact />

    </Routes>

    </Router>

    </>

    To get the hamburger menu working correctly, I'm sure it doesn't appear for most of you:

    'fa-solid fa-bars' instead of 'fas fa-bars'

    Reply
  3. Can anyone please help me? I followed the steps to create a navbar, and I was able to get it. However, in the mobile version, especially on iPhone XR, iPhone SE, and Galaxy S8, my header doesn't span the full width of the screen. Additionally, my menu extends beyond the screen width, causing horizontal scrolling (only when clicking on the menu icon). This gives it an unprofessional appearance. Please help me fix it if you have any suggestions.

    Reply
  4. Can anyone please help me? I'm using Visual Studio Code (version 1.83.1) with ES7 React/Redux/GraphQL/React-Native snippets, JS JSX Snippets, and Reactjs code snippets. However, I'm unable to use snippets in JSX within my App.js file. I can still use snippets in HTML files

    Reply
  5. Check the render method of `App`.

    Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

    Check the render method of `App`.
    taking a error like this,how should I fix it?

    Reply
  6. Amazing tutorial Brian!! I've spent like 4 hours trying to understand all the code and solve hundreds of errors, but it was totally worth it! U won a subscriber

    Reply
  7. I saw all the videos, then I found your video, You told me, you have done a good reaction in it. In the rest of the video, I used it in HTML, I wrote the link in the response, as I do it in HTML, you have adopted the correct date. i think your video is awesome

    Reply

Leave a Comment