Design a website from scracth without any knowledge of javascript (2022/2023)

 

 person writing on white paper

 

What is Computer Programming?

Computer programming is the process of designing and building computer programs using programming languages. A computer program is a set of instructions that tells a computer what to do. Shortcodes, on the other hand, are abbreviated versions of programming statements that can be used to perform a specific task. This paper will explore computer programming and shortcodes, their history, uses, and their impact on modern technology.

History:

The history of computer programming dates back to the mid-1800s when Ada Lovelace wrote the first algorithm for Charles Babbage's Analytical Engine. In the 1930s, computer programming languages such as machine language and assembly language were developed, followed by high-level programming languages in the 1950s and 1960s, including FORTRAN, COBOL, and BASIC. Shortcodes were developed in the 1950s as a way to simplify programming by using abbreviated versions of programming statements.

 

 

Table of Contents

What is computer programming

History of computers and uses

Impact of computer programming.

Computer short keys and meaning

How computers be used to solve a problem

Html code on the landing page

 

How to add paragraph using HTML code

How to add a paragraph with HTML

How to add line brake using HTML

 

How to add looping video or text using HTML

Web design from scratch

Some basic steps to code the homepage of a website using   HTML:

Stages of web design

 

 

 

 

 

Uses:

Computer programming and shortcodes are used in various industries, including software development, web development, gaming, and artificial intelligence. In software development, programming is used to build applications that can perform a wide range of functions, from accounting and inventory management to social media and entertainment. In web development, programming is used to create websites and web-based applications. Gaming programming is used to create games, while artificial intelligence programming is used to develop intelligent systems that can perform complex tasks.

 

COMPUTER SHORT KEYS

Shortcuts are key combinations that allow users to perform tasks quickly and easily. Here are some common computer shortcut keys:

  1. Ctrl + C - Copy selected text or object
  2. Ctrl + V - Paste copied text or object
  3. Ctrl + X - Cut selected text or object
  4. Ctrl + A - Select all text or object
  5. Ctrl + Z - Undo the previous action
  6. Ctrl + Y - Redo the previous action
  7. Ctrl + F - Find specific text or object
  8. Ctrl + S - Save the current document or file
  9. Ctrl + N - Open a new document or file
  10. Ctrl + O - Open existing document or file
  11. Ctrl + P - Print the current document or file
  12. Ctrl + Alt + Del - Open task manager (Windows)
  13. Alt + F4 - Close current window or application
  14. Ctrl + Tab - Switch between open tabs or windows
  15. Ctrl + Shift + Esc - Open task manager (Windows)

These shortcut keys can save users time and effort in performing common tasks on a computer. Learning and using them can help increase productivity and efficiency.

 

How Computers Can Be Used To Solve Problems

Computers can be used to solve a wide range of problems, from simple arithmetic calculations to complex scientific simulations. Here are some ways computers can be used to solve problems:

  1. Data Analysis: Computers can be used to analyze large amounts of data quickly and accurately, identifying patterns, trends, and outliers that would be difficult to detect manually.
  2. Modeling and Simulation: Computers can be used to model and simulate complex systems, allowing researchers to study and understand their behavior in a virtual environment.
  3. Optimization: Computers can be used to optimize systems and processes, finding the best possible solution given a set of constraints.
  4. Communication: Computers can be used to facilitate communication and collaboration, allowing individuals and teams to work together more effectively.
  5. Automation: Computers can be used to automate routine tasks, reducing errors and freeing up time for more complex tasks.
  6. Education: Computers can be used to enhance education, providing students with interactive and engaging learning experiences that can be customized to their individual needs.
  7. Entertainment: Computers can be used to provide entertainment, such as games, music, and movies, which can improve mental health and provide a break from stress and work.

Computers have revolutionized the way we solve problems and continue to play an increasingly important role in modern society. With the help of computers, we can solve problems more efficiently, accurately, and creatively than ever before.

 

 The Impact Of Computer In This New Technology Era

The impact of computers in this new technology era has been significant and far-reaching, affecting nearly every aspect of modern life. Here are some ways computers have impacted our world:

  1. Communication: Computers have revolutionized the way we communicate, allowing us to connect with people around the world instantly and at any time through email, social media, video conferencing, and messaging platforms.
  2. Information Access: Computers have made accessing and sharing information easier, from news articles and research papers to educational resources and online libraries.
  3. Entertainment: Computers have transformed the entertainment industry, allowing us to stream movies, listen to music, and play video games on demand.
  4. Business and Commerce: Computers have transformed the way we do business, making it easier to manage inventory, track sales, and process payments. E-commerce platforms have also made it possible for businesses to reach a wider audience and sell products online.
  5. Education: Computers have transformed education, providing students with interactive and engaging learning experiences that can be customized to their individual needs.
  6. Healthcare: Computers have transformed healthcare, making it possible to store, share, and analyze patient data quickly and accurately, leading to better diagnosis and treatment of diseases.
  7. Science and Technology: Computers have revolutionized scientific research, allowing researchers to analyze data and run simulations that were previously impossible. They have also enabled the development of new technologies, such as artificial intelligence, machine learning, and blockchain.
The impact of computers in this new technology era has been immense, transforming nearly every aspect of modern life. As technology continues to evolve, computers will continue to play an increasingly important role in shaping our future


Ø  The Uses Of Computer

Computers have become an essential part of modern life, and they are used in a wide range of applications. Here are some of the most common uses of computers:

  1. Communication: Computers are used extensively for communication, such as email, social media, video conferencing, and messaging platforms.
  2. Education: Computers are used in education, from online learning and educational software to research and data analysis.
  3. Business and Commerce: Computers are used in business and commerce, for tasks such as accounting, inventory management, and online transactions.
  4. Entertainment: Computers are used for entertainment, such as streaming movies and music, playing video games, and creating digital art.
  5. Science and Technology: Computers are used in scientific research, data analysis, and simulations, as well as in the development of new technologies.
  6. Healthcare: Computers are used in healthcare, for tasks such as patient data management, medical imaging, and research.
  7. Government and Administration: Computers are used in government and administration, for tasks such as record keeping, data analysis, and communication.
  8. Personal Use: Computers are used for personal use, such as browsing the internet, managing personal finances, and creating digital content.

In short, computers are used in nearly every aspect of modern life, and their versatility and flexibility have made them an indispensable tool for individuals, businesses, and organizations alike.

 

 

 

 

Html Code On Landing Page

Here's an example of a simple HTML code for a landing page:

php

<!DOCTYPE html>

<html>

  <head>

    <title>Landing Page</title>

  </head>

  <body>

    <h1>Welcome to our landing page!</h1>

    <p>Thank you for visiting our website. We offer a wide range of products and services to meet your needs.</p>

    <form action="/subscribe" method="post">

      <input type="email" name="email" placeholder="Enter your email address">

      <button type="submit">Subscribe</button>

    </form>

    <p>Stay up to date with our latest news and promotions by subscribing to our newsletter.</p>

  </body>

</html>

For example, the code defines the structure and content of a landing page using HTML tags. The <!DOCTYPE html> declaration at the beginning of the document tells the browser that this is an HTML5 document. The <html> tag defines the root of the document, and the <head> section contains metadata about the page, such as the title.

The <body> tag contains the main content of the landing page, including a heading (<h1>) and a paragraph (<p>) introducing the company and its offerings. The code also includes a simple email subscription form (<form>) with an email input field (<input type="email">) and a submit button (<button>).

By using HTML, you can create a visually appealing and functional landing page that effectively communicates your message to your target audience.



How To Add Paragraph With Html

To add a paragraph with HTML, you can use the <p> tag. Here's an example:

CSS

<p>This is a paragraph of text.</p>

For instance, the opening tag <p> denotes the start of the paragraph, and the closing tag </p> denotes the end of the paragraph. Any text or content you want to include within the paragraph should be placed between these two tags.

You can also use other tags within a paragraph, such as headings, links, and images, to enhance the content and structure of the text. For example:

php

<p>This is a paragraph with a <a href="https://www.example.com">link</a> and an <img src="image.jpg" alt="image">.</p>

In this example, the paragraph includes a link and an image. The <a> tag creates a link to the specified URL, and the <img> tag displays an image with the specified source file and alt text.

By using HTML tags, you can add structure and formatting to your paragraphs, making them more readable and engaging for your audience.



How To Add Line Brake Using Html

To add a line break using HTML, you can use the <br> tag. Here's an example:

Arduino

This is the first line.<br>

This is the second line.

In this example, the <br> tag is used to create a line break after the first line of text, resulting in two separate lines of text.

You can also use the <br> tag within other HTML elements, such as paragraphs, headings, and lists. For example:

php

<p>This is the first line.<br>

This is the second line.</p>

 

<h2>Heading<br>

with line break</h2>

 

<ul>

  <li>List item 1</li>

  <li>List item 2<br>

  with line break</li>

  <li>List item 3</li>

</ul>

In this example, the <br> tag is used within a paragraph, a heading, and a list item to create line breaks where needed.

By using the <br> tag, you can add line breaks to your HTML content, improving the readability and structure of your text.

 

How To Add Looping Video Or Text Using Html

To add a looping video or text using HTML, you can use the loop attribute of the <video> tag or the loop property of the <marquee> tag.

Here's an example of how to add a looping video:

CSS

<video autoplay loop>

  <source src="video.mp4" type="video/mp4">

  Your browser does not support the video tag.

</video>

In this example, the <video> tag includes the loop attribute, which tells the browser to continuously play the video. The autoplay attribute tells the browser to start playing the video automatically. The <source> tag specifies the source file and file type of the video. The text "Your browser does not support the video tag." is displayed if the browser doesn't support the <video> tag.

Here's an example of how to add a looping text using the <marquee> tag:

Arduino

<marquee loop>

  This text will loop indefinitely.

</marquee>

For instance, the <marquee> tag includes the loop property, which tells the browser to continuously loop the text. The text "This text will loop indefinitely." is displayed within the scrolling marquee.

By using the loop attribute or property, you can create looping videos or text that add visual interest and interactivity to your HTML content.

So many seek information on how to be a web Developer and we deemed it necessary to share this vital information that will help the web development enthusiast

 

 

 

 

 

 

 

 

 

HOW TO DESIGN A WEBSITE FROM SCRATCH

Designing a website from scratch can be a complex process, but here are some general steps you can follow:

  1. Define the purpose and audience of your website: Before you start designing, it's important to have a clear idea of what you want your website to achieve and who your target audience is.
  2. Plan your content and structure: Decide what information you want to include on your website and how you want to organize it. Create a sitemap or outline of the pages and content that will be on your website.
  3. Choose a domain name and web hosting: A domain name is the web address that people will use to find your website, and web hosting is the service that stores your website files and makes them available online. Choose a domain name that is easy to remember and relevant to your website, and select a web hosting service that fits your needs and budget.
  4. Choose a design style and layout: Think about the visual style you want for your website, including color scheme, typography, and graphics. Consider how you want to arrange your content on each page, including headers, footers, and navigation menus.
  5. Create your website's pages and content: Use HTML, CSS, and JavaScript to create your website's pages and add your content. You can also use a content management system (CMS) such as WordPress or Joomla to simplify the process of creating and managing your website's content.
  6. Optimize your website for search engines: Use search engine optimization (SEO) techniques to help your website rank higher in search engine results. This includes using relevant keywords, creating high-quality content, and optimizing your website's structure and metadata.
  7. Test and launch your website: Test your website thoroughly to make sure it works properly and is optimized for different devices and browsers. Once you're confident that your website is ready, launch it and promote it through social media, search engines, and other marketing channels.

Remember, designing a website from scratch can be a challenging process, and it may be helpful to seek guidance from experienced web designers or online resources.

With the Newtecgist team,  you are covered that is why we will guide you to achieve your goal as a beginner kindly follow the below guidelines:

Firstly, you have to code each page separately, before hosting your website, and below is the step to take;

 

 

                                      

HERE ARE SOME BASIC STEPS TO CODE THE HOMEPAGE OF A WEBSITE USING HTML:

 

If you are an Android Phone user you can download webmaster lite on  the store  for coding and if you are using Windows or Mac device to learn web design you should download Notepad or Sublime

For the sake of this lecture, we will be using Windows and as such we recommend you should follow the below instructions.

  1. Open a new text document: Open a text editor such as Notepad or Sublime Text, and create a new document.
  2. Start with the HTML tag: Begin by typing "<html>" to start the HTML code, and add "</html>" at the end to close the tag.
  3. Add the head section: Between the opening and closing "HTML" tags, add the "head" section by typing "<head>" and "</head>". This is where you will add information about your webpage, such as the title, metadata, and links to external resources.
  4. Add the body section: After the head section, add the "body" section by typing "<body>" and "</body>". This is where you will add the content to your webpage.
  5. Add the header section: Within the body section, add the header section by typing "<header>" and "</header>". This is where you will add the main heading or logo of your website and any navigation menus or links.
  6. Add the main content section: After the header section, add the main content section of your website by typing "<main>" and "</main>". This is where you will add the main body of your webpage, such as text, images, and videos.
  7. Add the footer section: Finally, add the footer section by typing "<footer>" and "</footer>". This is where you will add information about your website, such as copyright information, contact information, and links to social media profiles.
  8. Save the file: Save your file with an appropriate name, such as "index.html". Make sure to save it as a ".html" file type.
  9. Preview the webpage: Open the saved file in a web browser to preview your webpage. Make any necessary changes to the code to achieve the desired appearance and functionality.

Remember, this is just a basic guide to coding a homepage using HTML. There are many other elements and attributes you can add to your webpage, and you can use CSS and JavaScript to style and add interactivity to your website. It's also important to test your website on different devices and browsers to ensure that it works properly for all users.

 

 

Below are the examples of Homepage, Contacts, and About Us which is the number one code to kick-start web design.

 

 

 

Ø  First Stage:

 

HERE IS AN EXAMPLE OF THE HTML CODE FOR A SIMPLE HOMEPAGE:

 

 

php

<!DOCTYPE html>

<html>

<head>

       <title>My Website</title>

       <meta charset="UTF-8">

       <meta name="viewport" content="width=device-width, initial-scale=1.0">

       <link rel="stylesheet" type="text/css" href="style.css">

</head>

<body>

       <header>

              <h1>My Website</h1>

              <nav>

                    <ul>

                           <li><a href="#">Home</a></li>

                           <li><a href="#">About</a></li>

                           <li><a href="#">Contact</a></li>

                    </ul>

              </nav>

       </header>

       <main>

              <h2>Welcome to my website!</h2>

              <p>This is where I share my thoughts and ideas on a variety of topics, including technology, travel, and food.</p>

              <img src="images/website-image.jpg" alt="Image of my website" width="500">

       </main>

       <footer>

              <p>&copy; 2023 My Website. All rights reserved.</p>

              <p>Contact us at <a href="mailto:info@mywebsite.com">info@mywebsite.com</a>.</p>

              <ul>

                    <li><a href="#">Facebook</a></li>

                    <li><a href="#">Twitter</a></li>

                    <li><a href="#">Instagram</a></li>

              </ul>

       </footer>

</body>

</html>

This code includes the basic HTML structure, as well as some common elements such as the header, navigation menu, main content, and footer. It also includes a link to an external stylesheet, which can be used to add additional styling to the webpage.

 

 

 

 

Ø  Second Stage:

 

HOW TO CODE CONTACT PAGE USING HTML

Here's an example of how you can code a simple contact page using HTML:

php

<!DOCTYPE html>

<html>

<head>

      <title>Contact Us - My Website</title>

      <meta charset="UTF-8">

      <meta name="viewport" content="width=device-width, initial-scale=1.0">

      <link rel="stylesheet" type="text/css" href="style.css">

</head>

<body>

      <header>

            <h1>Contact Us</h1>

            <nav>

                  <ul>

                        <li><a href="#">Home</a></li>

                        <li><a href="#">About</a></li>

                        <li><a href="#">Contact</a></li>

                  </ul>

            </nav>

      </header>

      <main>

            <h2>Get in touch with us</h2>

            <p>If you have any questions, comments, or feedback, please fill out the form below and we'll get back to you as soon as possible.</p>

            <form action="submit-form.php" method="POST">

                  <label for="name">Name:</label>

                  <input type="text" id="name" name="name" required>

 

                  <label for="email">Email:</label>

                  <input type="email" id="email" name="email" required>

 

                  <label for="subject">Subject:</label>

                  <input type="text" id="subject" name="subject" required>

 

                  <label for="message">Message:</label>

                  <textarea id="message" name="message" required></textarea>

 

                  <input type="submit" value="Submit">

            </form>

      </main>

      <footer>

            <p>&copy; 2023 My Website. All rights reserved.</p>

            <p>Contact us at <a href="mailto:info@mywebsite.com">info@mywebsite.com</a>.</p>

            <ul>

                  <li><a href="#">Facebook</a></li>

                  <li><a href="#">Twitter</a></li>

                  <li><a href="#">Instagram</a></li>

            </ul>

      </footer>

</body>

</html>

This code includes a simple HTML form with input fields for the user's name, email, subject, and message. It also includes a submit button that will send the form data to a PHP script on the server (in this case, submit-form.php). You can modify the form action and method attributes to suit your needs.

Remember to add appropriate styles to your contact page using CSS to make it look good and fit your website's design.

 

Ø  Third Stage:

 

Code About Us Using Html

Here's an example of how you can code a simple About Us page using HTML:

php

<!DOCTYPE html>

<html>

<head>

        <title>About Us - My Website</title>

        <meta charset="UTF-8">

        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="stylesheet" type="text/css" href="style.css">

</head>

<body>

        <header>

               <h1>About Us</h1>

               <nav>

                       <ul>

                               <li><a href="#">Home</a></li>

                               <li><a href="#">About</a></li>

                              <li><a href="#">Contact</a></li>

                       </ul>

               </nav>

        </header>

        <main>

               <h2>Who We Are</h2>

               <p>We are a team of professional which use true technology. Our mission is to create innovative solutions that solve real-world problems and make people’s problems solved .</p>

 

               <h2>What We Do</h2>

               <p>Our team specializes in web development, mobile app development, and digital marketing. We work closely with our clients to understand their needs and create customized solutions that meet their specific requirements.</p>

 

               <h2>Why Choose Us</h2>

               <ul>

                       <li>We have years of experience in the industry.</li>

                       <li>We are dedicated to delivering high-quality solutions that exceed our client’s expectations.</li>

                       <li>We use the latest technologies and best practices to ensure our solutions are efficient, scalable, and secure.</li>

                       <li>We provide excellent customer service and support, and we are always available to answer your questions and help you with your needs.</li>

               </ul>

        </main>

        <footer>

               <p>&copy; 2023 My Website. All rights reserved.</p>

               <p>Contact us at <a href="mailto:info@mywebsite.com">info@mywebsite.com</a>.</p>

               <ul>

                       <li><a href="#">Facebook</a></li>

                       <li><a href="#">Twitter</a></li>

                       <li><a href="#">Instagram</a></li>

               </ul>

        </footer>

</body>

</html>

NB: Remember to add appropriate styles to your About Us page using CSS to make it look good and fit your website's design.

Don’t forget to change the entire names inserted on the above illustrations to your preferred name of your website and your site objectives etc.

 

Thanks and happy Reading.

*    Newtecgist Always cares

*    Always ask questions and we will be happy to attend it.

 

michel (iam HMN)

michel is a fulltime blogger, a digital marketing expert and professional blog designer

Post a Comment

Feel free ask your questions i will attend to you as soon as I can

Previous Post Next Post