codyseibert / youtube Goto Github PK
View Code? Open in Web Editor NEWcode from my youtube channel
Home Page: youtube-dun.vercel.app
License: MIT License
code from my youtube channel
Home Page: youtube-dun.vercel.app
License: MIT License
Where do you recommend the code be entered for the confirmation message in your js file ? I did not see it in your code. I used all of your files here you shared with me here but the confirmation message is not appearing when I enter all fields in the form to check it etc.
Thanks
Hi,
I needed a rewamp on my formsubmit form, and I've been following your tutorial, although for me, my mail.svg, isn't showing. I believe it is a error with my code.
Please help me.
Your tutorial video: https://www.youtube.com/watch?v=14vpfSyIysM
Your github repo: https://github.com/codyseibert/youtube/tree/master/contract-form-formsubmit
My github repo: https://github.com/KendallDoesCoding/email-contact-app
Thanks,
Kendall Does Coding
[email protected]
Hi, how do I do for multiple forms?
After building everything there seems to be an issue of the API being called. I tried to rewrite it a few times and when I run and compile the code everything works great, but will not pull up the data for the daily horoscopes.
When checking the network part of the developer tools it looks like there isn't any request being made.
This is currently what I have in my api.js file.
export const getSigns = () => {
return fetch(
"http://sandipbgt.com/theastrologer/api/sunsigns/"
).then((response) => response.json());
};
export const getHoroscope = (sign, timeframe) => {
return fetch(
'https://sandipbgt.com/theastrologer/api/horoscope/${sign}/${timeframe}/'
)
.then((response) => response.json())
.then(({horoscope}) => horoscope);
};
The updated file is on my github. Can it be something to do with how it's being called on my Horoscope.JSX file?
here is how my Horoscope.JSX file looks
import { useEffect, useState } from "react";
import { getHoroscope } from '../services/api';
export const Horoscope = ({sign, timeframe}) => {
const [horoscope, setHoroscope] = useState([]);
useEffect(() => {
getHoroscope(sign, timeframe).then(setHoroscope);
}, [sign, timeframe]);
return (
<div>
<h2>
{timeframe}, your horoscope for {sign} is...
</h2>
<p>{horoscope}</p>
</div>
);
};
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.