Details
Joined devRant on 11/13/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Thank you everyone for your input
-
I don’t want the answer I want to understand the proper syntax
-
i thought it would be simple but it was to attempt to get into a coding school whats the point of this site if you cant learn
-
i do want the anwser but i want to an explantion how to do this as well ive already asked this on stackover no one knows this apparently
-
@Voxera this makes no sense at all
-
This is all I have And I have challange 3 it’s the bonus I’m having trouble with
-
It’s a code challenge from general assembly
-
the first part of this is right i got it to print back the url put the bonus part is printing it back with it saying find out here and as a link directing it to the users favorite website
-
app.setWebsite = function setWebsite() {
// code BELOW this line for challenge #3 & bonus -->
var setWebsite = prompt("What is your favorite website?");
var myFavorite = document.getElementById("favorite-website");
myFavorite.innerHTML = setWebsite; -
It’s so small n stupid that I dont why no one knows how to do this
-
I have tried it all all I want is to take what the user types and how using http:// it returns as a link
-
This gots me so mad
-
The code works it prints back but the part I’m have trouble with is I need it to print out “find out and whatever url the user puts it redirects as a link
-
Guess no one knows
-
@sias11913 it’s for this coding challange n this part was a bonus I’m just trying to figure this all out
-
@ScribeOfGoD tried that already
-
var setWebsite = prompt("What is your favorite website?");
var myFavorite = document.getElementById("favorite-website");
myFavorite.innerHTML = setWebsite;
this code prompts the user then is printed as text how would i refactor this code to print back as a link
