yogeshtakeo / bootcamp_FD30

This is the repositary for bootcamp frontend developers
1 stars 0 forks source link

Task 6 : CSS Layout and JS Array #6

Open yogeshtakeo opened 1 year ago

yogeshtakeo commented 1 year ago

Task 6: CSS Layout and Printing Names in a React Project with Vite

Objective:

Apply CSS layout techniques (flow layout, position layout, and flexbox) and create a list of names to be printed in a React project created with Vite.

Task Details

Task Creation

Create a react project with Vite that should be linked it with your GitHub repository that you will create with GitHub.

Apply CSS Layout Techniques:

  1. Open your project in a code editor.
  2. Identify a React component (e.g., App.jsx or any other component in the src directory) where you want to apply CSS layout techniques.
  3. Experiment with flow layout, position layout, and flexbox to create different layout structures within the component.
  4. Use appropriate CSS properties, such as display, position, float, margin, padding, and flex, to achieve the desired layouts.

Create a List of Names:

  1. Declare an array in the component file (e.g.,const names = ['Alice', 'Bob', 'Charlie', 'David'];).
  2. Render the list of names within the component JSX using JavaScript's for loop to print the contents of the array.
  3. Use appropriate HTML elements to structure and display the names.

Test and Refine:

  1. Start the development server by running the following command in the project directory:npm run dev
  2. Open your web browser and navigate to the provided local development server URL (e.g.,http://localhost:3000).
  3. Verify that the CSS layout techniques are applied correctly within the component.
  4. Check that the list of names is rendered and displayed as expected.

Task Submission

  1. Take a screenshot of the web browser displaying the rendered React component with CSS layouts and the list of names.
  2. Share the screenshot
  3. Optionally, submit the code files (App.js and any other relevant files) for review with the GitHub Repositary.
Jharanatmg commented 1 year ago

Jharana git url- https://github.com/Jharanatmg/CSS-Array.git

Image

Image

Image

ashmaupret100 commented 1 year ago

Name: Ashma Upreti Github_Url: https://github.com/ashmaupret100/css_layouts.git

Image

Image

Image

Image

KabinaThapa commented 1 year ago

Kabina Thapa https://github.com/KabinaThapa/css-styling

Image Image Image Image Image

Namsla commented 1 year ago

Namkhang Tsamchoe git url: https://github.com/Namsla/Task6.git

Screen Shot 2023-05-25 at 6 09 23 PM Screen Shot 2023-05-25 at 6 11 59 PM
junuthapa011 commented 1 year ago

Name: Junu Thapa Git URL: https://github.com/junuthapa011/Bootcamp-task6.git

Image

Image

sandessth commented 1 year ago

Name: Sandesh Shrestha git: https://github.com/sandessth/CSS-layout-and-JS-array-2 codes frontpage git

dinakc commented 1 year ago

Deena KC https://github.com/dinakc/CSS-layout-and-js-array.git

Image Image Image Image

babisha commented 1 year ago

Image Image

sdhital12 commented 1 year ago
Screen Shot 2023-06-05 at 11 23 02 PM Screen Shot 2023-06-05 at 11 23 27 PM Screen Shot 2023-06-05 at 11 32 25 PM Screen Shot 2023-06-05 at 11 32 33 PM