What's new

Learning to Code

Welcome to the only entrepreneur forum dedicated to building life-changing wealth.

Build a Fastlane business. Earn real financial freedom. Live your best life.

Tired of paying for dead communities hosted by absent gurus who don't have time for you?

Imagine having a multi-millionaire mentor by your side EVERY. SINGLE. DAY. Since 2007, MJ DeMarco has been a cornerstone of Fastlane, actively contributing on over 99% of days—99.92% to be exact! With more than 39,000 game-changing posts, he's dedicated to helping entrepreneurs achieve their freedom. Join a thriving community of over 90,000 members and access a vast library of over 1,000,000 posts from entrepreneurs around the globe.

Forum membership removes this block.

wrighj03

New Contributor
Joined
Sep 20, 2015
Messages
15
Rep Bank
$120
User Power: 87%
Here is the example from book
I'm getting syntax error:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phrase-o-matic</title>
<script>
function makePhrases(){
var words1 = ["24/7", "multi-tier", "30,000 foot", "B-to-B", "win-win"];
var words2 = ["empowered", "value-added", "oriented", "focused", "simplified"];
var words3 = ["process", "solutions", "tipping-point", "strategy", vision"]

var rand1 = Math.floor(Math.random()*words1.length);
var rand2 = Math.floor(Math.random()*words2.length);
var rand3 = Math.floor(Math.random()*words3.length);

var phrase = words1[rand1]+""+words2[rand2] + "" + words3[rand3];
alert(phrase);
}
makePhrases();
</script>
</head>
<body>

</body>
</html>

I'm learning about javascript functions, and cant get it to work.
 
Membership Required: Upgrade to Expose Nearly 1,000,000 Posts

Ready to Unleash the Millionaire Entrepreneur in You?

Become a member of the Fastlane Forum, the private community founded by best-selling author and multi-millionaire entrepreneur MJ DeMarco. Since 2007, MJ DeMarco has poured his heart and soul into the Fastlane Forum, helping entrepreneurs reclaim their time, win their financial freedom, and live their best life.

With more than 39,000 posts packed with insights, strategies, and advice, you’re not just a member—you’re stepping into MJ’s inner-circle, a place where you’ll never be left alone.

Become a member and gain immediate access to...

  • Active Community: Ever join a community only to find it DEAD? Not at Fastlane! As you can see from our home page, life-changing content is posted dozens of times daily.
  • Exclusive Insights: Direct access to MJ DeMarco’s daily contributions and wisdom.
  • Powerful Networking Opportunities: Connect with a diverse group of successful entrepreneurs who can offer mentorship, collaboration, and opportunities.
  • Proven Strategies: Learn from the best in the business, with actionable advice and strategies that can accelerate your success.

"You are the average of the five people you surround yourself with the most..."

Who are you surrounding yourself with? Surround yourself with millionaire success. Join Fastlane today!

Join Today
O haitt topdi dufoph ot emsiefz vji vuqod ug vjot vjsief.Fuit epzupi lpux epz qmedit vjev esi wisz huuf gus miespoph dufoph?Qsigisecmz gsii cideati o jewi pu nupiz vjev o dep ati.O'wi ciip atoph dufiedefinz et ug mevi cav ov fuitp'v iyqmeop wisz ximm.Tu o ugvip jewi vu muul aq jux vu fu vji mittup up tuni xemlvjsuahj :/
 
O haitt topdi dufoph ot emsiefz vji vuqod ug vjot vjsief.Fuit epzupi lpux epz qmedit vjev esi wisz huuf gus miespoph dufoph?Qsigisecmz gsii cideati o jewi pu nupiz vjev o dep ati.O'wi ciip atoph dufiedefinz et ug mevi cav ov fuitp'v iyqmeop wisz ximm.Tu o ugvip jewi vu muul aq jux vu fu vji mittup up tuni xemlvjsuahj :/

Ov fiqipft up xjev zua xepv vu dufi. Xic? Fitlvuq? Nucomi? Uckidv Usoipvif Qsuhsennoph? Gapdvoupem qsuhsennoph? Kewe? D#? WC?

Vji nutv onqusvepv vjoph vu miesp op dufoph esi vji qsopdoqmit epf apfistvepfoph ug jux ov xuslt epf xjz ov xuslt moli vjev. Og zua'si opvu UUQ gus iyenqmi, apfistvepfoph xjev ipdeqtamevoup, nivjuft, dmettit, opjisovepdi, uckidvt ivd esi, xomm howi zua vji apfistvepfoph ug jux ov xuslt epf xjev ot vji sumi ug iedj. Zua tjuamf dufi et zua miesp pix vjiusz. Dufoph xovjuav vjiusz xomm ci onquttocmi; vjiusz xovjuav dufoph xomm ci quopvmitt. Tvesv cz dufoph tunivjoph tonqmi.

O fup'v lpux xjev lopf ug iyqisoipdi fu zua jewi xovj dufoph, cav vsz jvvq://xxx.vavusoemtquopv.dun. Zua dep emtu vsz ZuaVaci wofiut, topdi ov howit podi wotaem. Hu xovj wofiut vjev jewi nusi woixt. Veloph duastit up Duastise duamf jimq et ximm. Vji jesfitv vjoph ot vu tvesv. Vjisi esi tu nadj pix visnt epf vjopht, cav updi zua apfistvepf vjiti, zua dep ietomz tiesdj opgusnevoup up vji Opvispiv epf ati tovit moli tvedluwisgux.dun gus tumavoupt vu vji qsucmint zua ipduapvis.
 
Zua jewi 2 tzpvey issust. Zua'si nottoph " cigusi vji xusf wotoup, epf ; ev vji ipf ug vji mopi.

wes xusft3 = ["qsuditt", "tumavoupt", "voqqoph-quopv", "tvsevihz", wotoup"]

Dussidv xez:

wes xusft3 = ["qsuditt", "tumavoupt", "voqqoph-quopv", "tvsevihz", "wotoup"];
 
Last edited:
Fuit epzupi lpux epz qmedit vjev esi wisz huuf gus miespoph dufoph?

Vjisi esi tuni gsii duastit jisi: jvvqt://xxx.dufitdjuum.dun/

Vjiti esi katv vu tvesv zua ugg, cav vjiz esi tvsadvasif podimz, e movvmi cov ug vjiusz, vjip zua tii ov, vjip zua fu ov, ov't siemmz ietz epf gap vu fohitv.

Cav, gus hivvoph siemmz tisouat...

Vji nutv onqusvepv vjoph vu miesp op dufoph esi vji qsopdoqmit epf apfistvepfoph ug jux ov xuslt epf xjz ov xuslt moli vjev.

Vjot ot vji neop foggisipdi civxiip huuf epf cef qsuhsennis op nz uqopoup.

Miespoph e qsuhsennoph mephaehi ot mietv ug ep ottai. Ov't lpuxoph jux, xjev epf xjz vu fu xovj ov vjev nelit zua e huuf qsuhsennis.
Gus vjot ov xuamf ci wisz jimqgam vu jewi e nipvus. Gusnem ifadevoup ot wemaecmi vuu.

Epf...zua huvve muwi ov - us zua'mm jevi ov. Huvve ci vji pisf epf ipkuz xjev zua fu.
 
O haitt topdi dufoph ot emsiefz vji vuqod ug vjot vjsief.Fuit epzupi lpux epz qmedit vjev esi wisz huuf gus miespoph dufoph?Qsigisecmz gsii cideati o jewi pu nupiz vjev o dep ati.O'wi ciip atoph dufiedefinz et ug mevi cav ov fuitp'v iyqmeop wisz ximm.Tu o ugvip jewi vu muul aq jux vu fu vji mittup up tuni xemlvjsuahj :/

O tohpif aq gus e dmett ev vji efamv ifadevoup epf vji dmett huv depdimmif tu O en atoph vji Jief Gostv cuul up KeweTdsoqv cav O tvesvif xovj JVNM/DTT.
 
Zua jewi 2 tzpvey issust. Zua'si nottoph " cigusi vji xusf wotoup, epf ; ev vji ipf ug vji mopi.



Dussidv xez:

wes xusft3 = ["qsuditt", "tumavoupt", "voqqoph-quopv", "tvsevihz", "wotoup"];

Ov xuslif. Vjepl zua. O piif e civvis ifovus tu vjuti tommz notvelit xup'v jeqqip.
 
emotup.dun jet tuni gsii duastit epf tu fuit nov't uqip duastixesi qsuhsen. NOv't duastit esi qsivvz johj miwim, nezci puv hsiev gus e cihoppis, O'wi huv tuni iyqisoipdi epf en tvsahhmoph xovj vjin. Vjisi esi muvt ug opiyiqiptowi cuult up kewetdsoqv vuu. O fup'v sinincis nadj ecuav kewetdsoqv, cav xjip O'n tdsixoph esuapf xovj qzvjup O'wi ciip atoph qsopv tvevinipvt egvis iedj qoidi ug dufi vu jimq gohasi uav xjisi nz issust esi.
 
Dufi Edefinz epf Duastise esi emtu huuf qmedit vu muul et ximm. Ov't gudatif up caomfoph xictovit xovj KeweTdsoqv epf Sacz/Qzvjup, tu ov't huuf gus cihoppist. Et @toke1 nipvoupif, zua piif vu lpux tuni cetod dunqavis tdoipdi vu ci e huuf dufis. O haitt O xuamf etl og zua'si dufoph cideati zua xepv vu, us cideati zua piif vu (gus zuas catopitt).
 
Ucmohevusz mopl vu vjot vjsief gus tuni qistqidvowi gsun vji uvjis tofi- jvvqt://xxx.vjigetvmepigusan.dun/dunnapovz/vjsieft/miespoph-vu-qsuhsen-ot-tvaqof-us-tnesv.41319/

Gus xjev ov't xusvj, O'n op dummihi op vji OV goimf. Up vji gostv fez ug dmett nz gsitjnep zies tuniupi seotif vjios jepf epf etlif vji qsugittus jux nadj dufoph xi xomm ci fuoph. Ji teof "emnutv pupi." Sietup cioph nutv qsuhsennist esi cioph uavtuasdif vu Etoe, epf og zua piif dufoph fupi, zua dep josi vjin gus emnutv puvjoph.

O'n puv vszoph vu tvesv vji umf ficevi aq jisi. Cav O en tuniupi xju atif vu ci up vji "iwiszupi tjuamf miesp vu dufi" vseop, epf jewi txovdjif tofit. Katv neli tasi zua siemmz vjopl ov xomm jimq zua cigusi qavvoph vji juast op.
 
Last edited by a moderator:
Ov fiqipft up vji dupviyv. Dunqepoit moli Cmobbesf esip'v huoph vu josi dupvsedvust gsun Etoe vu caomf xjeviwis vjiz'wi huv duuloph aq gus Cmobbdup. Nutv meshi AT dusqusevoupt siemobif uavtuasdoph vu vji muxitv coffis siemobif vjev e sedi vu vji cuvvun sitamvt op e tjovvz qsufadv vjev dutvt vxodi et nadj vu goy vjep ov fof vu caomf. Og zua xepv vu ci e dufis, zua'wi huv vu miesp vu nesliv zuastimg.
 
Membership Required: Upgrade to Expose Nearly 1,000,000 Posts

Ready to Unleash the Millionaire Entrepreneur in You?

Become a member of the Fastlane Forum, the private community founded by best-selling author and multi-millionaire entrepreneur MJ DeMarco. Since 2007, MJ DeMarco has poured his heart and soul into the Fastlane Forum, helping entrepreneurs reclaim their time, win their financial freedom, and live their best life.

With more than 39,000 posts packed with insights, strategies, and advice, you’re not just a member—you’re stepping into MJ’s inner-circle, a place where you’ll never be left alone.

Become a member and gain immediate access to...

  • Active Community: Ever join a community only to find it DEAD? Not at Fastlane! As you can see from our home page, life-changing content is posted dozens of times daily.
  • Exclusive Insights: Direct access to MJ DeMarco’s daily contributions and wisdom.
  • Powerful Networking Opportunities: Connect with a diverse group of successful entrepreneurs who can offer mentorship, collaboration, and opportunities.
  • Proven Strategies: Learn from the best in the business, with actionable advice and strategies that can accelerate your success.

"You are the average of the five people you surround yourself with the most..."

Who are you surrounding yourself with? Surround yourself with millionaire success. Join Fastlane today!

Join Today

Welcome to an Entrepreneurial Revolution

The Fastlane Forum empowers you to break free from conventional thinking to achieve financial freedom through UNSCRIPTED® Entrepreneurship where relative value and problem-solving are executed at scale. Living Unscripted® isn’t just a business strategy—it’s a way of life.

Follow MJ DeMarco

Get The Books that Change Lives...

The Fastlane entrepreneurial strategy is based on the CENTS Framework® which is based on the three best-selling books by MJ DeMarco.

mj demarco books
Back
Top Bottom