Bootstrap Navigation Bar And Links

Following the same process from the previous blogs, i will take you through different websites navigation bar and link

What is Navigation Bar?

 Is a set of buttons or images in a row or column that serves as a control point to link the user to sections on a website. The navigation bar may also be a single graphic image with multiple selections.

 It is usually a navigation header placed at the top of the Page

Navigation Bar at the top of the page

·         A standard navigation bar is created with <nav class="navbar navbar-default">.

The following example shows how to add a navigation bar to the top of the page:

<nav class=”navbar navbar-default”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li><a href=”#”>Page 1</a></li>
      
<li><a href=”#”>Page 2</a></li>
      
<li><a href=”#”>Page 3</a></li>
    
</ul>
  
</div>
</nav>

The results of the code above will look similar to the picture above.

Inverted Navigation Bar

Just change the .navbar-default class into .navbar-inverse:

Example

 

<nav class=”navbar navbar-inverse”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li><a href=”#”>Page 1</a></li>
      
<li><a href=”#”>Page 2</a></li>
      
<li><a href=”#”>Page 3</a></li>
    
</ul>
  
</div>
</nav>

RESULTS:

Navigation Bar With A Dropdown

Navigation bars can also hold dropdown menus.

The following example adds a dropdown menu for the “Page 1” button:

Example

 

<nav class=”navbar navbar-inverse”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li class=”dropdown”>
        
<a class=”dropdown-toggle” data-toggle=”dropdown” href=”#”>Page 1
        
<span class=”caret”></span></a>
        
<ul class=”dropdown-menu”>
          
<li><a href=”#”>Page 1-1</a></li>
          
<li><a href=”#”>Page 1-2</a></li>
          
<li><a href=”#”>Page 1-3</a></li>
        
</ul>
      
</li>
      
<li><a href=”#”>Page 2</a></li>
      
<li><a href=”#”>Page 3</a></li>
    
</ul>
  
</div>
</nav>

RESULTS:

Navbar Buttons

To add buttons inside the navbar, add the .navbar-btn class on a Bootstrap button:

Example

 

<nav class=”navbar navbar-inverse”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li><a href=”#”>Link</a></li>
      
<li><a href=”#”>Link</a></li>
    
</ul>
    
<button class=”btn btn-danger navbar-btn”>Button</button>
  
</div>
</nav>

RESULTS:

Fixed Navigation Bar

The navigation bar can also be fixed at the top or at the bottom of the page.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

The .navbar-fixed-top class makes the navigation bar fixed at the top:

Example

 

<nav class=”navbar navbar-inverse navbar-fixed-top”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li><a href=”#”>Page 1</a></li>
      
<li><a href=”#”>Page 2</a></li>
      
<li><a href=”#”>Page 3</a></li>
    
</ul>
  
</div>
</nav>

The .navbar-fixed-bottom class makes the navigation bar stay at the bottom:

Example

<nav class=”navbar navbar-inverse navbar-fixed-bottom”>
  
<div class=”container-fluid”>
    
<div class=”navbar-header”>
      
<a class=”navbar-brand” href=”#”>WebSiteName</a>
    
</div>
    
<ul class=”nav navbar-nav”>
      
<li class=”active”><a href=”#”>Home</a></li>
      
<li><a href=”#”>Page 1</a></li>
      
<li><a href=”#”>Page 2</a></li>
      
<li><a href=”#”>Page 3</a></li>
    
</ul>
  
</div>
</nav>

Creating First Web Page With Bootstrap

Lets look at the short video below to catch up from our last blog.. i hope this will help. dont get confused as yet the video is basically talking about most of the things we will cover on Bootstrap

Following this video can help achieve knowledge of the Basics of Bootstrap. i will take you through the work i have prepared which includes most of the of the work covered on the video above. after gooing through this work you can follow the video just to test your grasping ability.

Guide To Creating HTML Website

HTM DOCTYPE

Always Add HTML Doctype. Bootstrap Uses HTML Elements and CSS properties that require the HTML5 DOCTYPE. Always include the HTML DOCTYPE  at the beginning of the page, along with the lang attribute and the correct charset(chatracter set).  

What do we use charset for:

ASCII defined 128 different alphanumeric
characters that could be used on the internet: numbers (0-9), English letters
(A-Z), and some special characters like ! $ + – ( ) @ < > . (To display
an HTML page correctly)

<!DOCTYPE html>
<html lang=”en”>
  
<head>
    
<meta charset=”utf-8″>
  
</head>
</html>

Bootstrap is Mobile First

The new version of Bootstrap (Bootstrap 3) it is designed to be responsive to mobile devices. Mobile-first styles are part of the core framework. to ensure proper rendering and touch-zooming the following tag must be added inside the <head> element.

<meta name=”viewport” content=”width=device-width, initial-scale=1″>

The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device.)

The initial-scale=1 Part Sets the initial zoom level when the page is first loaded by the browser.

 

 

 

Bootstap Containers

Bootstrap also require a containing elements to wrap site contents. There are two container classes to choose from:

1. The container  class provides a responsive fixed width container

2. The .container-fluid  class provides a full width containerspanning the entire width of the viiewport

.container

.container-fluid

 

The following example shows the code for a basic Bootstrap page
(with a responsive fixed width container):

container Example

<!DOCTYPE html>
<html lang=”en”>
<head>
  
<title>Bootstrap Example</title>
  
<meta charset=”utf-8″>
  
<meta name=”viewport” content=”width=device-width,
initial-scale=1″
>
  
<link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css”>
  
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script>
  
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js”></script>
</head>
<body>

<div class=”container”>
  
<h1>My First Bootstrap Page</h1>
  
<p>This is some text.</p>
</div>
</body>
</html>

Copy And Paste the example code to your Code Editor and, save the changes. go to the place where you save your project and open the file with browser of your choice. i have opened mine with google chrome and the results looks like the picture below.

The following shows code for a basic bootstrap page with full width container

span 1

span 1

span 1

span 1

span 1

span 1

span 1

span 1

span 1

span 1

span 1

span 1

 span 4

 span 4

 span 4

span 4

span 8

span 6

span 6

span 12

Bootstrap allows a grid system of up 12 coloumn you can div the grid into different block as long as it adds up to exatly 12 as shown in the picture above.

Container-fluid Example

<div class=”container-fluid”>
  
<h1>My First Bootstrap Page</h1>
  
<p>This is some text.</p>
</div>

The .container class is the fixed width container. That does not mean it is not responsive. It is responsive; however, it is fixed based on screen size. The screen sizes include:

  • xs for extra small devices (used for less than 768 e.g smart phones, mobile etc.)
  • sm for small screens (From 768 pixels and up e.g. tablets)
  • md for the medium screen (>= 992 pixels. Desktops/Laptops)
  • lg for large screens (>= 1200. Pixels e.g. large desktops)

Bootstrap Grid System

Bootstrap’s grid system allows up to 12 columns across the page.

If you do not want to use all 12 columns individually, you can
group the columns together to create wider columns:

Bootstrap’s grid system is responsive, and the columns will re-arrange
automatically depending on the screen size.

Grid Classes as mentioned above

The Bootstrap grid system has four classes:

  • xs (for phones – screens less than 768px wide)
  • sm (for tablets – screens equal to or greater than 768px
    wide)
  • md (for small laptops – screens equal to or greater than
    992px wide)
  • lg (for laptops and desktops – screens equal to or greater
    than 1200px wide)

The classes above can be combined to create more dynamic and
flexible layouts.

Basic Structure of a Bootstrap Grid

The following is a basic structure of a Bootstrap grid:

<div class=”row”>            à First  create a row
  
<div class=”col-*-*”></divà them add the number of desired
columns
  
<div class=”col-*-*”></div>
</div>
<div class=”row”>
  
<div class=”col-*-*”></div>
  
<div class=”col-*-*”></div>
  
<div class=”col-*-*”></div>
</div>
<div class=”row”>
  …
</div>

Note that numbers in .col-*-* should always
add up to 12 for each row.

Three Equal Columns Example

<body>

                <div
class=“container-fluid”>

             <h1>Hello World!</h1>

             <p>Resize the browser window to see the effect.</p>

             <p>The columns will automatically stack on top of each other when the screen is less than 768px wide.</p>

                  <div
class=“row”>

                    <div
class=“col-sm-4”
style=“background-color:lavender;”>.col-sm-4</div>

  <div
     class=“col-sm-4”
     style=“background-color:lavenderblush;”>.col-sm-4

  </div>

   <div
     class=“col-sm-4”
     style=“background-color:lavender;”>.col-sm-4

   </div>

                  

  </div>

    </div>

 </body>

Two Unequal Columns Example

<body>

                        <div
class=“container-fluid”>

                          <h1>Hello World!</h1>

                          <p>Resize the browser window to see the effect.</p>

                          <p>The columns will automatically stack on top of each other when the screen is less than 768px wide.</p>

                          <div
class=“row”>

     <div
class=“col-sm-4”
style=“background-color:lavender;”>.col-sm-4

</div>

    <div
class=“col-sm-8”
style=“background-color:lavenderblush;”>.col-sm-8

   </div>

 </div>

  </div>

</body>

4IR – Mining Industry

Mining is not typically associated with visions of a circular economy, where waste is transformed into inputs for ecologically safe outputs. But if the world is to transition to a low-carbon future – a fundamental imperative if we are to avoid warming the planet more than 1.5°C higher than pre-industrial temperatures – more minerals and metals will be required, not less. The future is renewable energy, robots and electric vehicles. This shift will require vast volumes of copper, lithium, cobalt, platinum, chrome and manganese. This policy briefing details the opportunities associated with the Fourth Industrial Revolution (4IR) in South Africa, and the role that mining can play as the world transitions to a low-carbon circular economy.

The mining industry has major potential for growth in the form of technological advancements. The Fourth Industrial Revolution produces the perfect opportunity for technological growth in the industry. It is also considered to be a disruptor of the mining value chain as its success is dependent on government and various sub-sectors including education, finance, and consulting among others. The full day 4IR in Mining Seminar is aimed at addressing the challenges associated with the implementation of 4IR practices in a South African context.

 

In the mining sector, some companies are using digital twinning, a virtual reality environment that mirrors the mining environment and is used for training employees on potential risks in the workplace.

They are increasingly investing in autonomous vehicles and equipment. There are also intelligent data analytics systems enabling valuable analysis of data, which are collected using the internet of things (IoT) technology.

The technology evolution is exciting, but it also presents challenges which must be carefully considered and addressed as part of effective business planning and strategy.

Whatever approach SA takes towards regulating artificial intelligence and emerging technologies, it should align itself as closely as possible with global best practice to ensure uniformity. SA has to remain competitive as a jurisdiction for technology investment, research and development.

 

To subscribe to our blogs, click this link http://eepurl.com/gCkXan

CSS And Bootstrap

LETS GET STARTED WITH BOOTSTRAP BASICS

HTML5, Bootstrap and css

CSS along with Botstraap can work magic to your website design. Bootstrap is the world’s most popular framework for building responsive, mobile-first sites.

Lets get strated with Building an HTML Website using both Bootstrap And CSS to add life to our website. NB! HTML has a latest vesion that works well with Bootstrap – HTML5. lets prepare the code to work well with bootstrap and HTML5.

Include the following code at the beginning of all your projects.

 

   <!doctype html>
   <html lang="en">
    </html>
   

 

  BOOTSTRAP

Bootstrap is HTML, CSS, and JavaScript framework to create mobile-first, responsive websites.

WHAT IS BOOTSTRAP?

  • Bootstrap is a free front-end framework for faster and easier web development
  • Includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels and many other, as well as optional JavaScript plugins
  • It also gives you the ability to easily create responsive designs

What is Responsive Web Design?

Responsive Design means Creating web sites which automatically adjust themselves to look good on all devices from small phones to large desktops.

          Why Use Bootstrap?

   Advantages of Bootstrap:

  • Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap
  • Responsive features: Bootstrap’s responsive CSS adjusts to phones, tablets, and desktops
  • Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework
  • Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Edge, Safari, and Opera)

       Where to Get Bootstrap?

There are two ways to start using Bootstrap on your own web site.

You can:

  • Download Bootstrap from getbootstrap.com (go to getbootstrap.com, and follow the instructions there.)
  • Include Bootstrap from a CDN

Bootstrap CDN

If you don’t want to download and host Bootstrap yourself, you can include it from a CDN (Content Delivery Network).

MaxCDN provides CDN support for Bootstrap’s CSS and JavaScript. You must also include jQuery:

MAXCND

Content delivery networks (CDNs) are the
pipelines of the Internet. Working behind the scenes, they are reshaping how
information is consumed online, accelerating web traffic, enhancing user
experience and providing every website with the ability to truly go global.

<!– Latest compiled and
minified CSS –>
<link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css”>
<!–
jQuery library –>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script>
<!–
Latest compiled JavaScript –>
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js”></script>

 CDN’s will make sure that once a user requests a
file from it, it will be served from the server closest to them, which also
leads to faster loading time.

AFTERE INCLDING ALL THIS,  YOUR CODE SHOULD LOOK SOMETHING LIKE THIS:

We will start by putting it all together on the next Blog. 

Laravel Middleware

Hey Guys….

Today we going to be talking about another important component of Laravel:

Middleware

Middleware is another essential component of Laravel and provide a convenient mechanism for filtering HTTP requests entering your application. For example, let us assume a situation where this middleware of Laravel checks for an authenticated user of your project. In this case Laravel includes a middleware that verifies the user of your application is authenticated. If the user is not authenticated, the middleware will redirect the user to the login screen. However, if the user is authenticated, the middleware will allow the request to proceed further into the application.

Additional middleware can be written to perform a variety of tasks besides authentication. A CORS middleware might be responsible for adding the proper headers to all responses leaving your application. A logging middleware might log all incoming requests to your application.

There are several middleware included in the Laravel framework, including middleware for authentication and CSRF protection. All of these middleware are located in the app/Http/Middleware directory.

Defining Middleware

Middleware can be defined as a middle-man or interface acting in coordination between a request and a response. As mentioned in the above test scenario, if the user is not authenticated, then your project may redirect that user from login.php to index.php page.

 

To create a new middleware, use the make:middleware Artisan command:

php artisan make:middleware CheckAge

This command will place a new CheckAge class within your app/Http/Middleware directory. In this middleware, we will only allow access to the route if the supplied age is greater than 200. Otherwise, we will redirect the users back to the home URI:

<?php

namespace App\Http\Middleware;

use Closure;

class CheckAge
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
* @param \Closure $next
* @return mixed */
public function handle($request, Closure $next) { if ($request->age <= 200) { return redirect('home'); } return $next($request); } }

As you can see, if the given age is less than or equal to 200, the middleware will return an HTTP redirect to the client; otherwise, the request will be passed further into the application. To pass the request deeper into the application (allowing the middleware to “pass”), call the $next callback with the $request.

It’s best to envision middleware as a series of “layers” HTTP requests must pass through before they hit your application. Each layer can examine the request and even reject it entirely.

Before & After Middleware

Whether a middleware runs before or after a request depends on the middleware itself. For example, the following middleware would perform some task before the request is handled by the application:

However, this middleware would perform its task after the request is handled by the application:

Registering Middleware

Global Middleware

If you want a middleware to run during every HTTP request to your application, list the middleware class in the $middleware property of your app/Http/Kernel.php class.

Assigning Middleware To Routes

If you would like to assign middleware to specific routes, you should first assign the middleware a key in your app/Http/Kernel.php file. By default, the $routeMiddleware property of this class contains entries for the middleware included with Laravel. To add your own, append it to this list and assign it a key of your choosing:

Once the middleware has been defined in the HTTP kernel, you may use the middleware method to assign middleware to a route:

When assigning middleware, you may also pass the fully qualified class name:

Middleware Parameters

Middleware can also receive additional parameters. For example, if your application needs to verify that the authenticated user has a given “role” before performing a given action, you could create a CheckRole middleware that receives a role name as an additional argument.

 

Additional middleware parameters will be passed to the middleware after the $next argument:

Middleware parameters may be specified when defining the route by separating the middleware name and parameters with a :. Multiple parameters should be delimited by commas:

That’s it for this weeks blog about Laravel.

If you want to learn more, please click on the button to subscribe to our weekly blogs.


4IR – New careers looming in the 4th Industrial Revolution

From our last post, we spoke some redundant roles in the 4th Industrial Revolution:

  • Data Entry Clerks
  • Accounting, Bookkeeping and Payroll Clerks
  • Administrative and Executive Secretaries
  • Assembly and Factory Workers
  • Client Information and Customer Service Workers*
  • Business Services and Administration Managers
  • Accountants and Auditors
  • Material-Recording and Stock-Keeping Clerks
  • General and Operations Managers*
  • Postal Service Clerks
  • Financial Analysts
  • Cashiers and Ticket Clerks
  • Mechanics and Machinery Repairers
  • Telemarketers
  • Electronics and Telecommunications Installers and Repairers
  • Bank Tellers and Related Clerks
  • Car, Van and Motorcycle Drivers
  • Sales and Purchasing Agents and Brokers
  • Door-To-Door Sales Workers, News and Street Vendors, and Related Workers
  • Statistical, Finance and Insurance Clerks Lawyers
 
And here is a list of the new roles:

Moving away from its outdated role as sales support, marketing will sit at the epicentre of transformational and strategic change – either as a driver or an enabler of change. Rather than managing robots and analysing data, marketing becomes the strategic centre of the business.

 

Some roles in marketing, communications and sales have seen their influence decrease. Some of these roles are in the process of re-inventing themselves, others are under threat of extinction: press officers working with print media, direct salesmen, telemarketers, offline market researchers and staff who prepare physical marketing collateral or pitch documents. Nevertheless, the core skills of marketing (creativity, message development and management, market segmentation, intelligence gathering) are more in demand than ever before. They are simply using different formats and different tools.

 

Future marketing will also play a key role in the internal cohesion within a company or organisation, helping to overcome silos, making key messages coherent and to give that culture a voice. The overarching culture of future marketing must be as a value generator for clients, the wider enterprise, the brand, its causes, the employees and all stakeholders.

An information technology specialist applies technical expertise to the implementation, monitoring, or maintenance of IT systems. Specialists typically focus on a specific computer network, database, or systems administration function. Specialty areas include network analysis, system administration, security and information assurance, IT audit, database administration, web administration, and more.

 

Education requirements vary depending on the IT specialty. While some IT specialists work their way up with professional certifications, most experts begin their careers with an information technology degree at the associate or bachelor level. IT certifications are useful for building specialist expertise and staying up to date on the latest advances in a specific area of information technology.

Organizational development specialists are tasked with continuously making organizational improvements across all departments in their company by evaluating and identifying opportunities to increase efficiency and effectiveness. Not only do they plan, coach, and consult with individuals and teams to solve organizational challenges, they also design and implement training and performance programs. Collaboration and communication with staff and management is also a key part of the job. Organizational development specialists generally work full time during regular business hours.

 

Based on our review of job ads, some of these tasks are: Research and Analyze Data, Create and Conduct Surveys, Track and Report Progress and Design and Implement Training Materials. Employers also seek applicants with these abilities: Organization skills, Analytical thinking, Problem-solving skills, Attention to detail, Interpersonal skills and Collaboration

Computer systems analysts study an organization’s current computer systems and procedures and design information systems solutions to help the organization operate more efficiently and effectively. They bring business and information technology (IT) together by understanding the needs and limitations of both.

 

Duties:

  • Consult with managers to determine the role of IT systems in an organization
  • Research emerging technologies to decide if installing them can increase the organization’s efficiency and effectiveness
  • Prepare an analysis of costs and benefits so that management can decide if IT systems and computing infrastructure upgrades are financially worthwhile
  • Devise ways to add new functionality to existing computer systems
  • Design and implement new systems by choosing and configuring hardware and software
  • Oversee the installation and configuration of new systems to customize them for the organization
  • Conduct testing to ensure that the systems work as expected
  • Train the systems’ end users and write instruction manuals
  • Computer systems analysts use a variety of techniques such as data modelling to design computer systems. Data modelling allows analysts to view the processes and data flows even before programs have been written.

In the IT industry, technology services are delivered according to business or enterprise requirements. Services range from basic Internet connectivity to enterprise application (EA) software. Technology service providers include Internet service providers (ISP), application service providers (ASP), cloud providers and developers.
o Technology services include:

  • Software development, integration and maintenance
  • Hardware
  • Networking integration, management and maintenance
  • Information security (IS)
  • IT management consultants
  • Mobile services
  • Web applications

 

You will lead, consult, and provide technology guidance for the development of cost effective and sustainable process automation cybersecurity solutions to realize the objectives of these technical programs, with the understanding of the unique requirements of manufacturing systems relative to cyber security. This will require working independently with R&D, Manufacturing Technical personnel, project leaders, and other technology consultants and functional specialists to identify value capture opportunities and execute programs, so that business needs are met and advanced through the introduction and application of the appropriate process systems engineering, and process automation technology. Another part of this role is to develop and coach members of process automation community to increase resource effectiveness and productivity.

Innovation Professionals
  • Do, think, create, strategize. If you work in innovation, you literally do it all. Innovation within business essentially means generating new ideas for products and services. You come up with products, services, processes, and strategies that help companies move into the future. And that could mean anything from creating a new beverage for a soft drink company to enhancing a bank’s digital services to developing a pioneering hotel concept.
  •  Innovation can also mean changing your business model or adapting existing products and services to deliver better quality for your customers. Innovation means evolving and thinking of creative solutions, so that your business can remain competitive and sustain business growth. It’s vital that a business innovates to maintain a healthy future.

Robotics engineers design, develop, build, and program robots and robotic devices, including peripheral equipment and computer software used to control robots. Robotics technicians assist robotics engineers in a wide variety of tasks relating to the design, development, production, testing, operation, repair, and maintenance of robots and robotic devices.

A robotics engineer is a behind-the-scenes designer, who is responsible for creating robots and robotic systems that are able to perform duties that humans are either unable or prefer not to complete. Through their creations, a robotics engineer helps to make jobs safer, easier, and more efficient, particularly in the manufacturing industry.

Today, our culture operations specialist holds a diverse set of responsibilities that revolves around understanding and enhancing the employee experience. In order to ensure a unified culture across all teams throughout the country, this person coordinates training sessions, manages cross-office employee communications, plans companywide events and oversees employee committees focused on extracurricular outings. But on a broader basis, this role acts as an advocate for our employee team, serving as their eyes and ears.

While creating a position dedicated to managing corporate culture might not be the right step for every company, investing in your own corporate culture can pay dividends. But first, you need to decide what the word “culture” really means.

Customer service-oriented workers help businesses by providing warm, genuine care for clients to resolve disputes, offer services, answer questions and ensure customer satisfaction. When interviewing candidates for customer service-related jobs, it helps to understand some of the personality characteristics of workers who excel in these positions. Asking worker candidates for examples of how they meet these desired characteristics can be an effective screening tool.

Some workers are motivated by the bottom line, and see interactions with customers as a distraction from achieving other goals, such as filing reports, unloading merchandise or rallying sales. Customer-service oriented workers share a common characteristic in that they’re naturally helpful people; they don’t mind taking time to assist another person, whether it’s a client, co-worker or complete stranger, in order to lighten their load. In interviews, ask candidates for examples of when they went out of their way to help someone.

The purpose of Service Development is to introduce new services and service development initiatives for the business. Service Development takes input from business projects, concept development, key users and service integration and carries out the development efforts either as projects, service releases or individual changes. It is essential both react to development needs coming from the business, and also continuously develop new digital business opportunities for the business. Service Owners and Service Managers have a crucial role in proactive development within services.

Traditional advertising is no longer as effective as it used to be. Companies must now provide meaningful content to consumers and allow themselves to be found quickly and easily online. A digital marketing specialist is someone who works alongside a company’s marketing team to identify a target market, create a brand image, and create and maintain a marketing campaign for the internet and for digital technologies.

Marketing specialists can choose to specialize in certain areas, such as search engine optimization (SEO), paid search (PPC), display media, social media and shopping feeds. Additionally, they can have a more general digital marketing expertise and can still be referred to as a digital marketing specialist.

We cannot possibly list all the new careers in the 4th indistrual revolution, but this is a long enough list to get you thinking… 

To subscribe to our blogs, click this link http://eepurl.com/gCkXan 

CSS

What is CSS?

  • It is a language that describes the style of an HTML documen, and describes how HTML elements should be displayed.
  • CSS stands for Cascading Style Sheets.
  • CSS describes how HTML elements are to be displayed on screen, paper, or in other media.
  • It saves a lot of work, and can control the layout of multiple web pages all at once.

Why Use CSS?
CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.

CSS Syntax
A CSS rule-set consists of a selector and a declaration block:

CSS selector

H1 = selector
The selector points to the HTML element you want to style.
Color:blue; = declaration
The declaration block contains one or more declarations separated by semicolons
Color = property
Blue = value

Each declaration includes a CSS property name and a value, separated by a colon.
A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces.
Example
In this example all elements will be center-aligned, with a red text color:
p { color: red; text-align: center; }

CSS Comments
Comments are used to explain the code, and may help when you edit the source code at a later date. Comments are ignored by browsers.
Example
A CSS comment starts with /* and ends with */. Comments can also span multiple lines:

CSS Selectors
CSS selectors are used to “find” (or select) the HTML elements you want to style.

The CSS element Selector
The element selector selects HTML elements based on the element name.

Example
Here, all elements on the page will be center-aligned, with a red text color:
p { text-align: center; color: red; }
The CSS id Selector
The id selector uses the id attribute of an HTML element to select a specific element.
The id of an element is unique within a page, so the id selector is used to select one unique element! To select an element with a specific id, write a hash (#) character, followed by the id of the element.

Example
The CSS rule below will be applied to the HTML element with id=”para1″:

para1 { text-align: center; color: red; }

Note: An id name cannot start with a number!

The CSS class Selector
The class selector selects HTML elements with a specific class attribute.
To select elements with a specific class, write a period (.) character, followed by the class name.

Example
In this example all HTML elements with class=”center” will be red and center-aligned:
.center { text-align: center; color: red; }
You can also specify that only specific HTML elements should be affected by a class. Example
In this example only.

Example
In this example all HTML elements with class=”center” will be red and center-aligned:
.center { text-align: center; color: red; }
You can also specify that only specific HTML elements should be affected by a class.

Example
In this example only elements with class=”center” will be centeraligned:
p.center { text-align: center; color: red; }

The CSS Universal Selector
The universal selector (*) selects all HTML elements on the page. Example
The CSS rule below will affect every HTML element on the page: {text-align: center; color: blue; }
The CSS Grouping Selector
The grouping selector selects all the HTML elements with the same style definitions.
The following CSS code (the h1, h2, and p elements have the same style definitions):
h1 { text-align: center; color: red; }

h2 { text-align: center; color: red; }

p { text-align: center; color: red; }

It will be better to group the selectors, to minimize the code.
To group selectors, separate each selector with a comma.

Example
In this example we have grouped the selectors from the code above:
h1, h2, p { text-align: center; color: red; }

How To Add CSS
When a browser reads a style sheet, it will format the HTML document according to the information in the style sheet.

Three Ways to Insert CSS
There are three ways of inserting a style sheet:
 External CSS

 Internal CSS

 Inline CSS

External CSS
With an external style sheet, you can change the look of an entire website by changing just one file!
Each HTML page must include a reference to the external style sheet file inside the element, inside the head section. Example
External styles External styles are defined within the element, inside the section of an HTML page:
Inline CSS
An inline style may be used to apply a unique style for a single element.
To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. Example
Inline styles are defined within the “style” attribute of the relevant element. External styles are defined within the element, inside the section of an HTML page:
Inline CSS
An inline style may be used to apply a unique style for a single element. To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property.

Example
Inline styles are defined within the “style” attribute of the relevant element

CSS: Internal CSS, Inline CSS and External CSS

With an external style sheet, you can change the look of an entire website by changing just one file!
Each HTML page must include a reference to the external style sheet file inside the element, inside the head section. Example
External styles are defined within the element, inside the section of an HTML page:
Inline CSS
An inline style may be used to apply a unique style for a single element.
To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. Example
Inline styles are defined within the “style” attribute of the relevant element

Internal CSS
An internal style sheet may be used if one single HTML page has a unique style.
The internal style is defined inside the element, inside the <head> section of an HTML page: </p>

we will Discuss more of CSS along with Bootstrap in our next post.

Skills you need in 4IR

However there are certain skills that will grow in importance as technology becomes more entrenched in our everyday lives.

According to the World Economic Forum ‘the skill sets required in both old and new occupations will change in most industries and transform how and where people work.”

Emotional Intelligence, EQ

Emotional Intelligence is key

Most of these capabilities are expressions of emotional intelligence which will be one of the defining characteristics of the 21st century employee.

“Emotional intelligence will become one of the top skills needed by all.”

As machines take over technical operations employers will begin to place greater value on soft skills and tasks that cannot be performed by robots.

  • Complex problem solving
  • Critical thinking
  • Creativity
  • People management
  • Coordinating with others
  • Emotional intelligence
  • Judgement and decision making
  • Service orientation
  • Negotiation
  • Cognitive Flexibility
Redundant Roles in the 4th industrial revolution:

·      Data Entry Clerks

·      Accounting, Bookkeeping and Payroll Clerks

·      Administrative and Executive Secretaries

·      Assembly and Factory Workers

·      Client Information and Customer Service Workers*

·      Business Services and Administration Managers

·      Accountants and Auditors

·      Material-Recording and Stock-Keeping Clerks

·      General and Operations Managers*

·      Postal Service Clerks

·      Financial Analysts

·      Cashiers and Ticket Clerks

·      Mechanics and Machinery Repairers

·      Telemarketers

·      Electronics and Telecommunications Installers and Repairers

·      Bank Tellers and Related Clerks

·      Car, Van and Motorcycle Drivers

·      Sales and Purchasing Agents and Brokers

·      Door-To-Door Sales Workers, News and Street Vendors, and Related Workers

·      Statistical, Finance and Insurance Clerks Lawyers

Go through this report and see how each industry is affected

http://nedlac.org.za/wp-content/uploads/2017/10/Futures-of-Work-in-South-Africa-Final-Report-March-2019.pdf

Want to know about the new roles being created, we’ll talk about that next week. New roles in the 4th industrial revolution. 

Technologies in 4IR

What are the technologies driving change? The easiest way to understand the Fourth Industrial Revolution is to focus on the technologies driving it. These include the following:

The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.  By design, a blockchain is resistant to modification of the data. It is “an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way”. For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for inter-node communication and validating new blocks. Once recorded, the data in any given block cannot be altered retroactively without alteration of all subsequent blocks, which requires consensus of the network majority. 

Although blockchain records are not unalterable, blockchains may be considered secure by design and exemplify a distributed computing system with high Byzantine fault tolerance. Decentralized consensus has therefore been claimed with a blockchain

Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. The term is generally used to describe data centers available to many users over the Internet. Large clouds, predominant today, often have functions distributed over multiple locations from central servers. If the connection to the user is relatively close, it may be designated an edge server.

 

Augmented reality (AR) is an interactive experience of a real-world environment where the objects that reside in the real-world are enhanced by computer-generated perceptual information, sometimes across multiple sensory modalities, including visual, auditory, haptic, somatosensory and olfactory 

.

 

Virtual reality systems use either virtual reality headsets or multi-projected environments to generate realistic images, sounds and other sensations that simulate a user’s physical presence in a virtual environment. A person using virtual reality equipment is able to look around the artificial world, move around in it, and interact with virtual features or items. The effect is commonly created by VR headsets consisting of a head-mounted display with a small screen in front of the eyes, but can also be created through specially designed rooms with multiple large screens.

An autonomous car, also known as a robotic car, self-driving car, or driverless car, is a vehicle that is capable of sensing its environment and moving with little or no human input. Autonomous cars combine a variety of sensors to perceive their surroundings, such as radar, Lidar, sonar, GPS, odometry and inertial measurement units. Advanced control systems interpret sensory information to identify appropriate navigation paths, as well as obstacles and relevant signage.

3D printable models may be created with a computer-aided design (CAD) package, via a 3D scanner, or by a plain digital camera and photogrammetry software. 3D printed models created with CAD result in reduced errors and can be corrected before printing, allowing verification in the design of the object before it is printed. The manual modeling process of preparing geometric data for 3D computer graphics is similar to plastic arts such as sculpting. 3D scanning is a process of collecting digital data on the shape and appearance of a real object, creating a digital model based on it.

5G networks are digital cellular networks, in which the service area covered by providers is divided into small geographical areas called cells. Analog signals representing sounds and images are digitized in the phone, converted by an analog to digital converter and transmitted as a stream of bits. All the 5G wireless devices in a cell communicate by radio waves with a local antenna array and low power automated transceiver in the cell, over frequency channels assigned by the transceiver from a common pool of frequencies, which are reused in geographically separated cells. 

The Internet of things (IoT) is the extension of Internet connectivity into physical devices and everyday objects. Embedded with electronics, Internet connectivity, and other forms of hardware (such as sensors), these devices can communicate and interact with others over the Internet, and they can be remotely monitored and controlled.

Nanotechnology refers to technology that is implemented at the nanoscale and has applications in the real world. Unique physical and chemical properties of nanomaterials can be exploited for applications that benefit society. Nanotechnology is defined as the study and use of structures between 1 nanometer and 100 nanometers in size. To give you an idea of how small that is, it would take eight hundred 100 nanometer particles side by side to match the width of a human hair.

For thousands of years, humankind has used biotechnology in agriculture, food production, and medicine. The wide concept of “biotech” or “biotechnology” encompasses a wide range of procedures for modifying living organisms according to human purposes, going back to domestication of animals, cultivation of the plants, and “improvements” to these through breeding programs that employ artificial selection and hybridization.

Colloquially, the term “artificial intelligence” is often used to describe machines (or computers) that mimic “cognitive” functions that humans associate with the human mind, such as “learning” and “problem solving”. Human-inspired AI has elements from cognitive and emotional intelligence; understanding human emotions, in addition to cognitive elements, and considering them in their decision making. 

 

Robots can take on any form but some are made to resemble humans in appearance. This is said to help in the acceptance of a robot in certain replicative behaviors usually performed by people. Such robots attempt to replicate walking, lifting, speech, cognition, and basically anything a human can do. Many of today’s robots are inspired by nature, contributing to the field of bio-inspired robotics.

Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it learn for themselves. Machine learning enables analysis of massive quantities of data. While it generally delivers faster, more accurate results in order to identify profitable opportunities or dangerous risks, it may also require additional time and resources to train it properly. 

Combining machine learning with AI and cognitive technologies can make it even more effective in processing large volumes of information

Until next time, keep logged in…

Guiding you through the thought-process of creating a website.

Often when making a website, it can be overwhelming. I’ll show you how to approach creating a website in this article…

Just a note…

This article is less about me showing you the actual technical parts of creating a website, but more about guiding you through the thought-process of creating a website. Just letting you know…

The final product

Here’s the final product of the site I’ll be building today. Take a look at it, and keep it in mind as we go through the tutorial.

The final product!

It’s going to be a fictional site about Boberick the llama (I get the strangest ideas sometimes…)

1. Plan your layout

The first step of any website is always to know what you want on it and (vaguely) how you want it to look. So, the first step is to do a rough sketch – either on paper or on the computer, depending on which you find easier.

A sketch of what the website will look like

Remember, it doesn’t have to look good. Here’s mine:

As you can see, it’s very rough. The lines aren’t straight and nothing is even but I can still see how the site is going to look and what sections I need to have.

In this layout, I have a header (navigation bar), three sections and a footer.

2. Get the ‘boilerplate code’ set up

Now, it’s time to get the basic code that you have at the start of any website (this is commonly called the boilerplate).

Do this by:

  1. Creating a new folder on your computer for the website
  2. Create new empty index.html and style.css files inside
  3. Add the basic ‘boilerplate code’ to your index.html file:
<!DOCTYPE html>
<html>
    <head>
        <title>Boberick the llama</title>
        <link rel="stylesheet" href="style.css">
    </head>
    <body>
        <h1>Just testing this works!</h1>
    </body>
</html>
The boilerplate code

Finally, open up your index.html in a web browser to check everything’s working:

This article will be more about explaining the process of creating a website, so I won’t be explaining the actual code in detail – but you can still follow along if you want.

If so, follow the steps above to get started!

3. Create the elements in your layout

Now it’s time to create the layout/section elements that you planned in step 1!

The best way to do this is by using semantic elements<header>,<main>,<section>, and <footer>.

Here is the HTML:

<!DOCTYPE html>
<html>
    <head>
        <title>Boberick the llama</title>
        <link rel="stylesheet" href="style.css">
    </head>
    <body>
        <header>
            
        </header>
        <main>
            <section id="hero">
                
            </section>
            <section id="about">
                
            </section>
            <section id="contact">
                
            </section>
        </main>
        <footer>
            
        </footer>
    </body>
</html>

Note that we are giving the <section>ids, so we can refer to them later.

If you reload the page, you will see there is nothing there – this is because we are just creating the sections of the page, not the actual stuff in them.

4. Filling in the HTML content

Once you have the sections of the page, it’s time to fill them up! If you know what content you are going to be using, put that in. If not, put in some dummy text and replace it with the actual content later.

Here is the HTML after filling in some content:

<!DOCTYPE html>
<html>
    <head>
        <title>Boberick the llama</title>
        <link rel="stylesheet" href="style.css">
    </head>

    <body>
        <header>
            <img src="https://codetheweb.blog/assets/img/posts/steps-to-creating-a-website/llama.jpg" class="profile-img">
            <nav>
                <ul>
                    <li><a href="#hero">Home</a></li>
                    <li><a href="#about">About</a></li>
                    <li><a href="#contact">Contact</a></li>
                </ul>
            </nav>
        </header>
        <main>
            <section id="hero">
                <div class="section-inner">
                    <img src="https://codetheweb.blog/assets/img/posts/steps-to-creating-a-website/llama.jpg" class="profile-img">
                    <h1>Hi, I'm Boberick the llama.</h1>
                </div>
            </section>
            <section id="about">
                <div class="section-inner">
                    <h2>About me</h2>
                    <p>I'm a really awesome llama. Every day I wake up, munch on some grass, do some coding and then go back to sleep.</p>
                    <h3>Achievements</h3>
                    <ul>
                        <li>Bachelor of photogenic posing, 2010</li>
                        <li>Llamaness certification from the Llama Institute, 2014</li>
                        <li>I coded a website, 2017</li>
                    </ul>
                </div>
            </section>
            <section id="contact">
                <div class="section-inner">
                    <h2>Contact me</h2>
                    <p>You can find me on:</p>
                    <ul>
                        <li><a href="https://twitter.com/llama">Twitter</a></li>
                        <li><a href="https://www.reddit.com/user/llama">Reddit</a></li>
                        <li><a href="https://www.instagram.com/llamasporfavor/">Instagram</a></li>
                    </ul>
                    <p>Or, you can <a href="mailto:llama@codetheweb.blog">send me an email</a>.</p>
                </div>
            </section>
        </main>
        <footer>
            © Copyright Boberick The Llama, 2017
        </footer>
    </body>
</html>
The HTML content of our site (without CSS)

If you reload the page, you will see that we now have some content!

5. Adding some basic layout CSS

Once we’re done with our HTML, it’s time to move on to CSS! The first and most important part to focus on first is to get it looking like our layout – then we can focus on the details.

This means that we need to focus on properties like widthheightmarginpaddingposition, and display. Also, we need to make sure the images are the right size so that they don’t obliterate the page.

Here is the CSS that we will add to our style.css:

body {
    margin: 0;
    margin-top: 50px;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    background-color: #eee;
}

header * {
    display: inline;
    height: 50px;
}

header ul {
    padding: 0;
}

header li {
    margin-left: 20px;
}

section {
    height: 100vh;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero .profile-img {
    width: 300px;
}

footer {
    text-align: center;
    padding: 50px;
}

Here, we are only adding styles to make our overall layout look similar – not the individual content. We make sure that the sections are set to 100% viewport height, make the header have a fixed position, position the items in the header, and more. We also use flexboxes to center the content in our sections.

Now our page looks similar to the sketch!

This is the result:

6. Add more specific styles

Once the basic framework of the site is done, we can add more specific styles.

Now we can make our website look good!

Here’s our CSS:

body {
    margin: 0;
    margin-top: 50px;
    font-family: sans-serif; /* Add this line */
}

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    background-color: #eee;
}

header * {
    display: inline;
    height: 50px;
}

header ul {
    padding: 0;
}

header li {
    margin-left: 20px;
}

section {
    height: 100vh;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero .profile-img {
    width: 300px;
    border-radius: 50%; /* Add this line */
}

footer {
    text-align: center;
    padding: 50px;
}

/* Add everything below here */

#hero h1 {
    font-size: 3em;
}

section h2 {
    font-size: 2.5em;
}

section h3 {
    font-size: 1.5em;
}

header a {
    text-decoration: none;
    color: black;
}

As you can see, we’ve made the title bigger, rounded our image (using border-radius), and changed the font. We’ve also removed some default styling from the header links.

Our website after adding more specific styles

Here’s the result:

7. Add colors and backgrounds

Yay, we’re on the home stretch now! It’s time to add the finishing touches to our website – colors and backgrounds!

This is what will make our site look really awesome.

Here is the CSS:

body {
    margin: 0;
    margin-top: 50px;
    font-family: sans-serif;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    background-color: #eee;
}

header * {
    display: inline;
    height: 50px;
}

header ul {
    padding: 0;
}

header li {
    margin-left: 20px;
}

section {
    height: 100vh;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    background-size: cover; /* Add this line */
    background-position: center center; /* Add this line */
    background-repeat: no-repeat; /* Add this line */
    background-attachment: fixed; /* Add this line */
}

#hero .profile-img {
    width: 300px;
    border-radius: 50%;
}

footer {
    text-align: center;
    padding: 50px;
}

#hero h1 {
    font-size: 3em;
}

section h2 {
    font-size: 2.5em;
}

section h3 {
    font-size: 1.5em;
}

header a {
    text-decoration: none;
    color: black;
}

/* Add everything below here */

#hero {
    background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('https://codetheweb.blog/assets/img/posts/steps-to-creating-a-website/field.jpg');
}

#about {
    background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('https://codetheweb.blog/assets/img/posts/steps-to-creating-a-website/beach.jpg');
}

#contact {
    background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('https://codetheweb.blog/assets/img/posts/steps-to-creating-a-website/canyon.jpg');
}

As you can see, we’ve added some general background styles to the section elements, as well as adding a background-image to each section individually.

The reason for the linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), before the url('image.jpg') is because otherwise the text is hard to read – so we add a semi-transparent white overlay ontop. I wrote a bit more about that here.

Yay! We're done!

8. Celebrate! 🎉

Woo! You’re finally done your website! Now, go show it off to your friends, family and the entire internet 😉

Further reading

If you want to know more about a specific section of what I was showing today, check out:

  1. How to create a full-page hero image
  2. How to style a navigation bar using CSS

Conclusion

So, I hope you enjoyed this article and hopefully you learned something along the way!

I did something a little different from usual today, so tell me your thoughts. Remember, this article is less about me showing you the actual technical parts of creating a website, but more about guiding you through the thought-process of creating a website.