Tuesday, 5 May 2020

INTRODUCTION TO JAVASCRIPT

JavaScript

  • JavaScript is used in millions of Web pages to improve the design, validate forms, detect browsers, create cookies, and much more.
  • JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Mozilla, Firefox, Netscape, Opera.

WHAT IS JAVASCRIPT?

  • JavaScript was designed to add interactivity to HTML pages 
  • JavaScript is a scripting language (a scripting language is a lightweight programming language) 
  • A JavaScript consists of lines of executable computer code 
  • A JavaScript is usually embedded directly into HTML pages 
  • JavaScript is an interpreted language (means that scripts execute without preliminary compilation) 
  • Everyone can use JavaScript without purchasing a license 

Are Java and JavaScript the Same? 

  • NO!
  • Java and JavaScript are two completely different languages in both concept and design!
  • Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.

How to Put a JavaScript Into an HTML Page?

<html>
<body>
<script type="text/javascript">
document.write("Hello World!")
</script>
</body>
</html> 

JavaScript Variables 

  • Variables are used to store data. 
  • A variable is a "container" for information you want to store. A variable's value can change during the script. You can refer to a variable by name to see its value or to change its value.
  • Rules for variable names:
  • Variable names are case sensitive 
  • They must begin with a letter or the underscore character 
  • strname – STRNAME (not same)

Example

<script>
x=“Hello World!”
document.write(x)
</script>

<script>
x=“İsminizi Yazın….”
document.write(“Merhaba” +x)
</script>  use line break html code

JavaScript Popup Boxes 

Alert Box
An alert box is often used if you want to make sure information comes through to the user.
When an alert box pops up, the user will have to click "OK" to proceed. 
<script>
alert("Hello World!")
</script>

<script>
x=prompt (“Adınızı Yazınız”, “ ”)
document.write(“Merhaba <br>”,+x)
</script>

Friday, 1 May 2020

Ten Deadly Mistakes of Entrepreneurship


  1. Management mistakes
  2. Lack of experience
  3. Poor financial control
  4. Weak marketing efforts
  5. Failure to develop a strategic plan
  6. Uncontrolled growth
  7. Poor location
  8. Improper inventory control
  9. Incorrect pricing
  10. Inability to make the “entrepreneurial transition”

Putting Failure into Perspective

  • Entrepreneurs are not paralyzed by the prospect of failure.
  • Failure – a natural part of the creative process.  
  • Successful entrepreneurs learn to fail intelligently.

Avoiding the Pitfalls of Small Business Failure

  • Know your business in depth
  • Develop a solid business plan
  • Manage financial resources
  • Understand financial statements
  • Learn to manage people effectively
  • Keep in tune with yourself


What Is an Entrepreneurship & it's Characteristics ?

What Is an Entrepreneur?

One who creates a new business in the face of risk and uncertainty for the purpose of achieving profit and growth by identifying opportunities and assembling the necessary resources to capitalize on them.  

Characteristics of Entrepreneurs

  • Desire for responsibility
  • Preference for moderate risk – risk eliminators
  • Confidence in their ability to succeed
  • Desire for immediate feedback
  • High level of energy
  • Future orientation – serial entrepreneurs
  • Skilled at organizing
  • Value achievement over money

Entrepreneurship

  • One characteristic of entrepreneurs stands out:
                                      Diversity!
  • Anyone – regardless of age, race, gender, color, national origin, or any other characteristic – can become an entrepreneur (although not everyone should).  

Benefits of Entrepreneurship

  • The opportunity to:
  • Create your own destiny
  • Make a difference
  • Reach your full potential
  • Reap impressive profits
  • Contribute to society and to be recognized for your efforts
  • Do what you enjoy and to have fun at it 

Drawbacks of Entrepreneurship

  • Uncertainty of income
  • Risk of losing your entire investment
  • Long hours and hard work
  • Uncertainty of income
  • Risk of losing your entire investment
  • Long hours and hard work

Feeding the Entrepreneurial Fire

  • Entrepreneurs as heroes
  • Entrepreneurial education
  • Demographic and economic factors
  • Shift to a service economy
  • Technological advancements
  • Independent lifestyles
  • E-commerce and the World Wide Web

The Cultural Diversity of Entrepreneurship

  • Young entrepreneurs
  • Women entrepreneurs
  • Home-based businesses
  • Family businesses
  • Copreneurs
  • Corporate castoffs
  • Corporate dropouts







The Foundations of Entrepreneurship ?

The World of the Entrepreneur:

Every year in the U.S., entrepreneurs launch 850,000 new businesses.
Entrepreneurial spirit -  the most significant economic development in recent history.
GEM study: 11.3 percent of adult population in the U.S. is actively involved in trying to start a new business. 

GEM study

Globally 9.4 percent of adults are actively engaged in trying to start a business.
Men are twice as likely as women to start a business (exactly the opposite trend in the U.S., however).
Nearly one-third of global entrepreneurs are between the ages of 25 and 44.