How to Build the Website
Step 1: TOOLS NEEDED
Installing all the tools necessary for the webpage build:
Git: Gitlab control
Github: Webpage server
Github desktop: To push or pull from the github server and to the github server
VScode: For writing our documents and code for the website and its pages
HTML Language: to write the website
CSS: Corresponds with html. Used to style the website
Step 2: PAGE SETUP
Before we begin, it is worth noting that the GitHub repository had already been setup for our team website by our supervisor. It enables us to upload our website pages to a server for us to edit as team and also setup for others to open and view the work we have done during the course of the module.
Repository Setup for Nexmaker:
Repository Directory
We would like to illustrate how to setup a repository the instructions are as follows: First sign up and create a repository on github.com. Make it public in order to grant access for others to modify. Add a README file for the purpose of writing the website description.
Got to repository settings, in the settings sidebar, select ‘Pages’. In GitHub pages under branch, select main and the ‘/root’ and save. Since the ‘/docs’ folder has not been installed yet, you select root. The setting will be changed to ‘/docs’ later after Docsify install.
Inviting a Team or Person:
1. Request the username of the person you wish to invite as a collaborator.
2. Access the primary repository page by selecting the repository name on your GitHub dashboard.
3. Click on "Settings" under your repository name. If the "Settings" tab isn't visible, access it through the dropdown menu.
4. Within the sidebar's "Access" section, choose "Collaborators and teams."
5. Click on "Add people or Add teams" to the right of "Manage access."
6. Initiate a search by entering the name of the team or person. GitHub may auto-suggest usernames; select the correct match.
7. Under "Choose a role," pick the repository role for the team or person, then select "Add NAME to REPOSITORY."
Removing Access:
Step 1: Navigate to the main repository page.
Step 2: Click on "Settings" under your repository name. If the "Settings" tab isn't visible, access it through the dropdown menu.
Step 3: In the sidebar's "Access" section, go to "Collaborators & teams."
Step 4: Within "Manage access," click "Remove" next to the team or person to revoke their access.
Note: Confirm the action if prompted.


Changing Permissions:
Step 1: Go to the main repository page.
Step 2: Click on "Settings" under your repository name. If the "Settings" tab isn't visible, access it through the dropdown menu.
Step 3: In the sidebar's "Access" section, go to "Collaborators & teams."
Step 4: Within "Manage access," adjust the role by selecting a new role.


In our website one member is the admin and other members have the maintain role.
2. Vs Code
Local settings Open Github desktop, clone repository created earlier and open it in Visual Studio Code.
Example:
Setting index.html
To set an index.html file, follow these simple steps:
1. Create a new folder on your computer where you want to store your website files.
2. Open a text editor (such as Notepad or VsCode) and create a new file.
3. Save the file with the name "index.html" in the folder you created earlier. Make sure to save it with the ".html" extension.
This is an example of how files and folders are organized in VScode.
4. Open the index.html file in your text editor.
5. Start by adding the basic structure of an HTML document by typing this code at the top of the file.
< !DOCTYPE html >
6. Below the doctype declaration, add an opening and closing "html" tag:
< html>< /html >
7. Inside the "html" tags, add opening and closing "head" tags:
< head>< /head>
8. Within the "head" tags, you can add various elements such as a title for your webpage using the "title" tag:
< title>Your Website Title< /title>
9. After closing the "head" tags, add opening and closing "body" tags:
< body>< /body>
Headings:
Use the < h1 > to < h6 > tags for headings. The lower the number, the larger the heading.
<h1>This is a Heading 1</h1>
<h2>This is a Heading 2</h2>
<!-- ... -- >
<h6>This is a Heading 6</h6>
Lists:
Create ordered (numbered) and unordered (bulleted) lists using < ol> and < ul> along with < li> for list items.
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<a href="https://www.example.com">Visit Example.com</a>
Add Text:
Inside the <body> tag, you can add text using the <p> (paragraph) tag.
<p>This is a paragraph of text on my web page.</p>
Add Images:
To add images, use the <img> tag. Specify the src attribute with the path to your image.
<img src="path/to/your/image.jpg" alt="Description of the image">
Divs and Spans:
Use <div> for block-level containers and <span> for inline containers. These are often used for grouping and styling purposes.
Save and View:
Save your HTML file and open it in a web browser to see your web page. Right-click on the file and select "Open with" to choose your preferred browser.

Now you have successfully set up an index.html file! You can open it in a web browser to see how it looks or continue adding more content and styling to build your website further.
for more information
Write document and save all under VScode
Push to Github
1. Click on the "Clone a repository" button or go to File > Clone Repository.
2. Select the repository you want to work with from the list or enter its URL.
3. Choose a local path where you want to clone the repository on your computer.
4. Click on the "Clone" button to download a copy of the repository to your local machine.
5. Once cloned, you can make changes to files within the repository folder on your computer using any text editor or IDE.
6. Open the GitHub desktop app and you will see a list of changed files under "Changes".
7. Review and select which files you want to commit by checking their checkboxes.
8. Enter a brief summary of your changes in the "Summary" field and provide an optional description in the "Description" field.
9. Click on the "Commit" button to save your changes locally.
10. To push your changes to GitHub, click on "Push origin" at the top right corner of the app window.

That's it! Your changes are now pushed to GitHub using the GitHub desktop app.
<div style="color: blue;">This is a blue block of text.</div>
<p>This is a <span style="font-weight: bold;">bold</span> word in a paragraph.</p>
4. Designing in Figma
Figma is a UI design software. We used figma as a basis for what we intend the website design to look like. We also use Figma with the assistance of plugins for the HTML & CSS code then take the necessary measures to make it a working website

a. Designing the website in Figma
Below is a screenshot of the design workflow. Pages are placed side by side with shared elements to ensure continuity in design.
b. We toggle between ‘Design Mode’ and ‘Developer Mode’ in Figma.
Design mode allows us to add elements such as text, images, shapes, layers, colours, etc. Examples:

Design mode:

Design mode Toggle for inserting elements in the frame to design the page
In Design Mode, we toggle between Elemental tools, Tabs to organize them and the Design tools sidebar to edit.
Below is an illustration of how we created the page and various tools used in Figma. By adding elements such as the frame for the page, shapes and texts are layered for the buttons. On the right sidebar, we can view and change various parameters in the design. We can align the text, buttons, shapes, use creation tools to make icons. Edit texts, colors and grids of the page. We played with these various features and reach the result of the prototype for the Landing Page and other supporting website pages .
HTML and CSS files pushed to the repository and viewed in vscode. This is where we will edit elements of the pages and continuously add information over the course of the assignments.

How to make a web page using Figma

For A simple instruction using figma for webpage building:

1. On the Figma homepage, we select “Design File” to start designing our page.
2. Setup Your Canvas on right by selecting the type of device you’d like to design on. Since we are working on a web page, we select Desktop for our Frame/Canvas dimensions.
Below, is what is an example of the setup for our Canvas. Selecting Frame sets up its own layers where we will setup the rest of the page.
3.We are adding text. These are simple texts on the login page aimed at attracting the attention of visiting users. For modifying text, we select the text box on the right and adjust various elements, including size, font type, paragraph alignment, etc.
Linking Pages
The Code connecting ‘Assignments/index.html’, ‘Team/index.html’, ‘Member/index.html’ pages from the Home ‘index.html’ page is as follows:
<div class="button">
      <a class="member"href="member/index.html">Member</a>
    </div>
    <div class="_00-button">
      <a class="assessment"href="Assessment/index.html">Assessment</a>
    </div>
    <div class="_00-button3">
      <div class="frame-1">
        <a class="team"href="Team/index.html">Team</a>
      </div>
    </div>
AUTOHTML
The AutoHTML plugin for Figma is a powerful tool designed to bridge the gap between design and development. It streamlines the process of converting your Figma designs into clean, production-ready HTML code.
Add Repository
Push to GitHub
Edit in VScode
Add comments before changes
Commit Changes
Elements Tools
Layers and Elements Sidebar
Frame
Layers
Text Layer
Element Constraints
Text Edits
Click to download to your desktop and unzip
Move the file to the folder you want to place it in
Editing Sidebar
Canvans Size
Move Tools
Shape Tools
Text Tools
Region Tools
Creation Tools
Hands Tools
Resouces
Add Comment
AutoHTML eliminates the need for repetitive coding and manual adjustments. Focus on the creative aspects of front-end development and let the plugin handle the grunt work.
It's a perfect tool for designers and developers alike. Designers can quickly share their vision with developers, and developers can get started on coding right away with a solid foundation.
Overall, AutoHTML simplifies the design-to-code workflow, saves time, and increases efficiency. For either a seasoned developer or new to coding, this plugin is valuable to the Figma toolkit.
towards https://nexmaker-fab.github.io/2023zjudem-Tomorrow-s-Wonder-Team/PM.html draw lessons from